pub struct System<C, S> {
pub index: u16,
pub short_name: String,
pub kind: String,
pub name: String,
pub fcc: BTreeMap<String, FccLicense>,
pub fcc_call_sign: String,
pub fcc_name: String,
pub sites: Vec<SiteInfo>,
pub config: Option<S>,
pub settings: C,
}Fields§
§index: u16The number events carry for it, for this run only.
short_name: StringIts identity: unique among the recorder’s systems, and what users know it by.
kind: String“p25” | “smartnet” | “dmr” | “nxdn” | “edacs” | “conventional”
name: StringWhat people call it; empty when the user gave no name.
fcc: BTreeMap<String, FccLicense>Its FCC licenses by frequency (Hz, as a string), and the call sign
(and licensee) that names it: see SystemInfo::fcc.
fcc_call_sign: String§fcc_name: String§sites: Vec<SiteInfo>Its sites.
config: Option<S>The plugin’s settings for this system (None: left empty).
settings: CThe plugin’s own settings (Setup::config) as they are for this
system, with any it overrides.
Trait Implementations§
Auto Trait Implementations§
impl<C, S> Freeze for System<C, S>
impl<C, S> RefUnwindSafe for System<C, S>
impl<C, S> Send for System<C, S>
impl<C, S> Sync for System<C, S>
impl<C, S> Unpin for System<C, S>
impl<C, S> UnsafeUnpin for System<C, S>
impl<C, S> UnwindSafe for System<C, S>
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