pub(crate) struct EdgeLogStats {
pub(crate) src: String,
pub(crate) src_channel: Option<String>,
pub(crate) dst: String,
pub(crate) dst_channel: Option<String>,
pub(crate) msg: String,
pub(crate) samples: u64,
pub(crate) none_samples: u64,
pub(crate) valid_time_samples: u64,
pub(crate) total_raw_bytes: u64,
pub(crate) avg_raw_bytes: Option<f64>,
pub(crate) rate_hz: Option<f64>,
pub(crate) throughput_bytes_per_sec: Option<f64>,
}Fields§
§src: String§src_channel: Option<String>§dst: String§dst_channel: Option<String>§msg: String§samples: u64§none_samples: u64§valid_time_samples: u64§total_raw_bytes: u64§avg_raw_bytes: Option<f64>§rate_hz: Option<f64>§throughput_bytes_per_sec: Option<f64>Trait Implementations§
Source§impl Clone for EdgeLogStats
impl Clone for EdgeLogStats
Source§fn clone(&self) -> EdgeLogStats
fn clone(&self) -> EdgeLogStats
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for EdgeLogStats
impl<'de> Deserialize<'de> for EdgeLogStats
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 EdgeLogStats
impl RefUnwindSafe for EdgeLogStats
impl Send for EdgeLogStats
impl Sync for EdgeLogStats
impl Unpin for EdgeLogStats
impl UnsafeUnpin for EdgeLogStats
impl UnwindSafe for EdgeLogStats
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Converts
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>, which can then be
downcast into Box<dyn ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Converts
Rc<Trait> (where Trait: Downcast) to Rc<Any>, which can then be further
downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Converts
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Converts
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.§impl<T> DowncastSend for T
impl<T> DowncastSend for T
§impl<T> TypeData for T
impl<T> TypeData for T
§fn clone_type_data(&self) -> Box<dyn TypeData>
fn clone_type_data(&self) -> Box<dyn TypeData>
Creates a type-erased clone of this value.