pub struct StatsWithComparison {
pub base: Stats,
pub comparison: Stats,
}Fields§
§base: StatsThe Stats for a given time period
comparison: StatsThe Stats for a time period which is of the same length as a given time period, and ends when that given time period begins
Trait Implementations§
Source§impl Clone for StatsWithComparison
impl Clone for StatsWithComparison
Source§fn clone(&self) -> StatsWithComparison
fn clone(&self) -> StatsWithComparison
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 StatsWithComparison
impl Debug for StatsWithComparison
Source§impl<'de> Deserialize<'de> for StatsWithComparison
impl<'de> Deserialize<'de> for StatsWithComparison
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 StatsWithComparison
impl RefUnwindSafe for StatsWithComparison
impl Send for StatsWithComparison
impl Sync for StatsWithComparison
impl Unpin for StatsWithComparison
impl UnsafeUnpin for StatsWithComparison
impl UnwindSafe for StatsWithComparison
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