1 #[derive(Debug, Clone)] 2 pub enum BackendEvent { 3 StartUp(StartUpEvent), 4 } 5 6 #[derive(Debug, Clone)] 7 #[allow(dead_code)] 8 pub struct StartUpEvent { 9 started: bool, 10 message: String, 11 timestamp: std::time::Instant, 12 } 13