pub struct ToneEntry {
pub kind: String,
pub value: String,
pub pos: f64,
pub len: f64,
pub src: i64,
pub origin: String,
pub level: Option<f64>,
pub extra: Map<String, Value>,
}Expand description
An in-band tone sent in the call’s voice.
Fields§
§kind: Stringdtmf, knox, call_progress or tone (a single tone).
value: StringThe digit (0–9, A–D, *, #); call progress, its two
frequencies (350+440); a single tone, its frequency in Hz.
pos: f64Seconds into the audio.
len: f64Seconds.
src: i64The radio talking when it was sent (0: not known).
origin: Stringframe: named by the vocoder’s tone frames (half-rate digital
voice: P25 Phase 2, DMR, NXDN); audio: found in the audio (P25
Phase 1, analog, half-rate voice sent without tone frames).
level: Option<f64>Tone frames: the level they named, dBm0.
extra: Map<String, Value>Trait Implementations§
Source§impl<'de> Deserialize<'de> for ToneEntry
impl<'de> Deserialize<'de> for ToneEntry
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
impl StructuralPartialEq for ToneEntry
Auto Trait Implementations§
impl Freeze for ToneEntry
impl RefUnwindSafe for ToneEntry
impl Send for ToneEntry
impl Sync for ToneEntry
impl Unpin for ToneEntry
impl UnsafeUnpin for ToneEntry
impl UnwindSafe for ToneEntry
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