pub struct TonePatternEvent {
pub short_name: String,
pub site: String,
pub call_num: u64,
pub talkgroup: u32,
pub alpha_tag: String,
pub src_tag: String,
pub decrypted: bool,
pub time: f64,
pub pattern: TonePattern,
}Expand description
A call’s tones made a pattern — a page, an alert tone, a warble, a DTMF
or KNOX string, a Morse ID — told as soon as nothing can add to it (a
second after its last tone), whether or not it’s one of the system’s
signals. The call’s JSON (tone_patterns) has the same pattern once it’s
saved (its pos there in the saved audio, here in the call’s so far).
Fields§
§short_name: String§site: String§call_num: u64The call it’s on (its call_num).
talkgroup: u32§alpha_tag: String§src_tag: StringThe radio talking (src)’s name, as a call’s would be. Empty: none known.
decrypted: boolHeard in voice decrypted with the system’s keys: only plugins allowed decrypted calls get it.
time: f64Unix seconds.
pattern: TonePatternTrait Implementations§
Source§impl Clone for TonePatternEvent
impl Clone for TonePatternEvent
Source§impl Debug for TonePatternEvent
impl Debug for TonePatternEvent
Source§impl Default for TonePatternEvent
impl Default for TonePatternEvent
Source§impl<'de> Deserialize<'de> for TonePatternEventwhere
TonePatternEvent: Default,
impl<'de> Deserialize<'de> for TonePatternEventwhere
TonePatternEvent: 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
Source§impl PartialEq for TonePatternEvent
impl PartialEq for TonePatternEvent
Source§impl Serialize for TonePatternEvent
impl Serialize for TonePatternEvent
impl StructuralPartialEq for TonePatternEvent
Auto Trait Implementations§
impl Freeze for TonePatternEvent
impl RefUnwindSafe for TonePatternEvent
impl Send for TonePatternEvent
impl Sync for TonePatternEvent
impl Unpin for TonePatternEvent
impl UnsafeUnpin for TonePatternEvent
impl UnwindSafe for TonePatternEvent
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