pub struct DiagEvent {
pub subsystem: &'static str,
pub stream_id: Option<String>,
pub ts_ms: u64,
pub metrics: Vec<Metric>,
}Fields§
§subsystem: &'static strSub-system that produced this event (e.g. “neteq”, “codec”, “transport”).
stream_id: Option<String>Optional stream identifier (peer or media stream).
ts_ms: u64Unix time in milliseconds when the metric was captured.
metrics: Vec<Metric>Arbitrary key/value metrics.
Trait Implementations§
Source§impl Deserialize<'static> for DiagEvent
impl Deserialize<'static> for DiagEvent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'static>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'static>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for DiagEvent
impl RefUnwindSafe for DiagEvent
impl Send for DiagEvent
impl Sync for DiagEvent
impl Unpin for DiagEvent
impl UnsafeUnpin for DiagEvent
impl UnwindSafe for DiagEvent
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