1 2 3 4 5 6 7 8
use serde::Serialize; #[derive(Serialize)] pub struct Device { pub id: String, pub mac: String, pub broadcast_addr: String }