1 2 3 4 5 6 7 8 9 10
use serde::Serialize; #[derive(Debug, Serialize)] pub struct CameraPermissionView { pub camera_id: i64, pub camera_name: String, pub ip_address: Option<String>, pub can_view: bool, pub can_control: bool, }