use serde::Serialize; #[derive(Serialize)] pub struct WaitForEvent { pub timeout: bool, }