pub struct TrendBaseline<Unit> {
pub kind: TrendBaselineKind,
pub value: f64,
pub start_date: String,
/* private fields */
}Fields§
§kind: TrendBaselineKind§value: f64§start_date: StringTrait Implementations§
Source§impl<Unit: Clone> Clone for TrendBaseline<Unit>
impl<Unit: Clone> Clone for TrendBaseline<Unit>
Source§fn clone(&self) -> TrendBaseline<Unit>
fn clone(&self) -> TrendBaseline<Unit>
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<Unit: Debug> Debug for TrendBaseline<Unit>
impl<Unit: Debug> Debug for TrendBaseline<Unit>
Source§impl<'de, Unit> Deserialize<'de> for TrendBaseline<Unit>
impl<'de, Unit> Deserialize<'de> for TrendBaseline<Unit>
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
Source§impl<Unit: PartialEq> PartialEq for TrendBaseline<Unit>
impl<Unit: PartialEq> PartialEq for TrendBaseline<Unit>
Source§fn eq(&self, other: &TrendBaseline<Unit>) -> bool
fn eq(&self, other: &TrendBaseline<Unit>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<Unit> StructuralPartialEq for TrendBaseline<Unit>
Auto Trait Implementations§
impl<Unit> Freeze for TrendBaseline<Unit>
impl<Unit> RefUnwindSafe for TrendBaseline<Unit>where
Unit: RefUnwindSafe,
impl<Unit> Send for TrendBaseline<Unit>where
Unit: Send,
impl<Unit> Sync for TrendBaseline<Unit>where
Unit: Sync,
impl<Unit> Unpin for TrendBaseline<Unit>where
Unit: Unpin,
impl<Unit> UnsafeUnpin for TrendBaseline<Unit>
impl<Unit> UnwindSafe for TrendBaseline<Unit>where
Unit: UnwindSafe,
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