pub struct MetricsJson {
pub current_elapsed_ns: u64,
pub stats: Vec<SerializableChannelStats>,
}Expand description
Wrapper for metrics JSON response containing stats and current time
Fields§
§current_elapsed_ns: u64Current elapsed time since program start in nanoseconds
stats: Vec<SerializableChannelStats>Channel statistics
Trait Implementations§
Source§impl Clone for MetricsJson
impl Clone for MetricsJson
Source§fn clone(&self) -> MetricsJson
fn clone(&self) -> MetricsJson
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 Debug for MetricsJson
impl Debug for MetricsJson
Source§impl<'de> Deserialize<'de> for MetricsJson
impl<'de> Deserialize<'de> for MetricsJson
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 MetricsJson
impl RefUnwindSafe for MetricsJson
impl Send for MetricsJson
impl Sync for MetricsJson
impl Unpin for MetricsJson
impl UnwindSafe for MetricsJson
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