pub struct StatsPeriod {
pub end: NaiveDateTime,
pub interval: u64,
}Fields§
§end: NaiveDateTime§interval: u64Trait Implementations§
Source§impl Clone for StatsPeriod
impl Clone for StatsPeriod
Source§impl Debug for StatsPeriod
impl Debug for StatsPeriod
impl Eq for StatsPeriod
Source§impl PartialEq for StatsPeriod
impl PartialEq for StatsPeriod
Source§impl Serialize for StatsPeriod
impl Serialize for StatsPeriod
impl StructuralPartialEq for StatsPeriod
Auto Trait Implementations§
impl Freeze for StatsPeriod
impl RefUnwindSafe for StatsPeriod
impl Send for StatsPeriod
impl Sync for StatsPeriod
impl Unpin for StatsPeriod
impl UnsafeUnpin for StatsPeriod
impl UnwindSafe for StatsPeriod
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere T: Clone,
impl<T> CloneToUninit for Twhere T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.