pub struct TimePeriodStats {
pub period: String,
pub success_rate: f64,
pub avg_value: f64,
pub occurrence_count: usize,
}Expand description
Statistics for a time period
Fields§
§period: String§success_rate: f64§avg_value: f64§occurrence_count: usizeTrait Implementations§
Source§impl Clone for TimePeriodStats
impl Clone for TimePeriodStats
Source§fn clone(&self) -> TimePeriodStats
fn clone(&self) -> TimePeriodStats
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 TimePeriodStats
impl Debug for TimePeriodStats
Source§impl<'de> Deserialize<'de> for TimePeriodStats
impl<'de> Deserialize<'de> for TimePeriodStats
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 TimePeriodStats
impl RefUnwindSafe for TimePeriodStats
impl Send for TimePeriodStats
impl Sync for TimePeriodStats
impl Unpin for TimePeriodStats
impl UnsafeUnpin for TimePeriodStats
impl UnwindSafe for TimePeriodStats
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