1 2 3 4 5 6
use serde::{Deserialize, Serialize}; #[derive(Clone, Debug, Deserialize, Eq, PartialEq, Serialize)] pub struct Hello { pub heartbeat_interval: u64, }