pub struct FlushStats {
pub total_time_in_millis: String,
pub total_time: Option<String>,
pub periodic: u32,
pub total: u32,
}Fields§
§total_time_in_millis: String§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.
periodic: u32§total: u32Implementations§
Source§impl FlushStats
impl FlushStats
Trait Implementations§
Source§impl Clone for FlushStats
impl Clone for FlushStats
Source§fn clone(&self) -> FlushStats
fn clone(&self) -> FlushStats
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 FlushStats
impl Debug for FlushStats
Source§impl Default for FlushStats
impl Default for FlushStats
Source§fn default() -> FlushStats
fn default() -> FlushStats
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FlushStats
impl<'de> Deserialize<'de> for FlushStats
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 FlushStats
impl PartialEq for FlushStats
Source§fn eq(&self, other: &FlushStats) -> bool
fn eq(&self, other: &FlushStats) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for FlushStats
impl Serialize for FlushStats
impl StructuralPartialEq for FlushStats
Auto Trait Implementations§
impl Freeze for FlushStats
impl RefUnwindSafe for FlushStats
impl Send for FlushStats
impl Sync for FlushStats
impl Unpin for FlushStats
impl UnsafeUnpin for FlushStats
impl UnwindSafe for FlushStats
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