pub struct StatsInterval {
pub time: String,
pub metrics: Value,
}
Expand description
Stats interval
Fields§
§time: String
Timestamp for this interval (ISO 8601 format)
metrics: Value
Metrics data for this time interval (dynamic field names)
Trait Implementations§
Source§impl Clone for StatsInterval
impl Clone for StatsInterval
Source§fn clone(&self) -> StatsInterval
fn clone(&self) -> StatsInterval
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 StatsInterval
impl Debug for StatsInterval
Source§impl<'de> Deserialize<'de> for StatsInterval
impl<'de> Deserialize<'de> for StatsInterval
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 StatsInterval
impl RefUnwindSafe for StatsInterval
impl Send for StatsInterval
impl Sync for StatsInterval
impl Unpin for StatsInterval
impl UnwindSafe for StatsInterval
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