pub struct SystemStatus {
pub index: u16,
pub short_name: String,
pub site_name: String,
pub control_channel_hz: Option<u64>,
pub decode_rate: f64,
pub active_calls: u32,
pub recording: u32,
pub nac: Option<u32>,
pub wacn: Option<u32>,
pub sys_id: Option<u32>,
pub rfss: Option<u32>,
pub site: Option<u32>,
}Fields§
§index: u16§short_name: String§site_name: StringOne entry per site: this one’s name (a system of one site: its short
name). site below is its number, as the control channel says it.
control_channel_hz: Option<u64>The control channel being decoded (none: searching).
decode_rate: f64Control channel messages decoded per second.
active_calls: u32§recording: u32§nac: Option<u32>The system’s identity, as far as its control channel has stated it (none until it has): P25 NAC, WACN, system ID, RFSS and site; site also for SmartNet when its OBT sends one.
wacn: Option<u32>§sys_id: Option<u32>§rfss: Option<u32>§site: Option<u32>Trait Implementations§
Source§impl Clone for SystemStatus
impl Clone for SystemStatus
Source§impl Debug for SystemStatus
impl Debug for SystemStatus
Source§impl Default for SystemStatus
impl Default for SystemStatus
Source§impl<'de> Deserialize<'de> for SystemStatuswhere
SystemStatus: Default,
impl<'de> Deserialize<'de> for SystemStatuswhere
SystemStatus: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SystemStatus
impl RefUnwindSafe for SystemStatus
impl Send for SystemStatus
impl Sync for SystemStatus
impl Unpin for SystemStatus
impl UnsafeUnpin for SystemStatus
impl UnwindSafe for SystemStatus
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more