pub struct HourlyStats {
pub hour: u8,
pub occurrences: usize,
pub success_rate: f64,
pub avg_magnitude: f64,
}Fields§
§hour: u8§occurrences: usize§success_rate: f64§avg_magnitude: f64Trait Implementations§
Source§impl Clone for HourlyStats
impl Clone for HourlyStats
Source§fn clone(&self) -> HourlyStats
fn clone(&self) -> HourlyStats
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 HourlyStats
impl Debug for HourlyStats
Source§impl<'de> Deserialize<'de> for HourlyStats
impl<'de> Deserialize<'de> for HourlyStats
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 HourlyStats
impl RefUnwindSafe for HourlyStats
impl Send for HourlyStats
impl Sync for HourlyStats
impl Unpin for HourlyStats
impl UnsafeUnpin for HourlyStats
impl UnwindSafe for HourlyStats
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