pub struct StatChange {
pub value: String,
pub positive: bool,
pub period: String,
}Expand description
Change indicator
Fields§
§value: StringChange value
positive: boolIs positive change?
period: StringPeriod label (e.g., “vs last month”)
Trait Implementations§
Source§impl Clone for StatChange
impl Clone for StatChange
Source§fn clone(&self) -> StatChange
fn clone(&self) -> StatChange
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 StatChange
impl Debug for StatChange
Source§impl<'de> Deserialize<'de> for StatChange
impl<'de> Deserialize<'de> for StatChange
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 StatChange
impl RefUnwindSafe for StatChange
impl Send for StatChange
impl Sync for StatChange
impl Unpin for StatChange
impl UnwindSafe for StatChange
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