From 22a53ab297447c2f044d01bf443f7b140745762f Mon Sep 17 00:00:00 2001 From: Arnaud Bailly Date: Sat, 5 Oct 2024 10:41:55 +0200 Subject: Basic loop to send requests to registered clients --- rust/src/ast.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'rust/src/ast.rs') diff --git a/rust/src/ast.rs b/rust/src/ast.rs index 2221856..dfb6862 100644 --- a/rust/src/ast.rs +++ b/rust/src/ast.rs @@ -1,6 +1,8 @@ use std::fmt::{self, Display}; -#[derive(Debug, PartialEq, Clone)] +use serde::{Deserialize, Serialize}; + +#[derive(Debug, PartialEq, Clone, Serialize, Deserialize)] pub enum Value { Num(i32), Bool(bool), -- cgit v1.2.3