pub struct RefreshStats {
pub total_time: Option<String>,
pub external_total_time: Option<String>,
pub external_total: u32,
pub external_total_time_in_millis: String,
pub total_time_in_millis: String,
pub listeners: u32,
pub total: u32,
}Fields§
§total_time: Option<String>A duration. Units can be nanos, micros, ms (milliseconds), s (seconds), m (minutes), h (hours) and
d (days). Also accepts “0” without a unit and “-1” to indicate an unspecified value.
external_total_time: Option<String>A duration. Units can be nanos, micros, ms (milliseconds), s (seconds), m (minutes), h (hours) and
d (days). Also accepts “0” without a unit and “-1” to indicate an unspecified value.
external_total: u32§external_total_time_in_millis: String§total_time_in_millis: String§listeners: u32§total: u32Implementations§
Trait Implementations§
Source§impl Clone for RefreshStats
impl Clone for RefreshStats
Source§fn clone(&self) -> RefreshStats
fn clone(&self) -> RefreshStats
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RefreshStats
impl Debug for RefreshStats
Source§impl Default for RefreshStats
impl Default for RefreshStats
Source§fn default() -> RefreshStats
fn default() -> RefreshStats
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RefreshStats
impl<'de> Deserialize<'de> for RefreshStats
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 RefreshStats
impl PartialEq for RefreshStats
Source§fn eq(&self, other: &RefreshStats) -> bool
fn eq(&self, other: &RefreshStats) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RefreshStats
impl Serialize for RefreshStats
impl StructuralPartialEq for RefreshStats
Auto Trait Implementations§
impl Freeze for RefreshStats
impl RefUnwindSafe for RefreshStats
impl Send for RefreshStats
impl Sync for RefreshStats
impl Unpin for RefreshStats
impl UnsafeUnpin for RefreshStats
impl UnwindSafe for RefreshStats
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