#[non_exhaustive]pub enum TrendBaselineKind {
Mean,
Unknown(String),
}Expand description
Represents the WeatherKit TrendBaselineKind value.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for TrendBaselineKind
impl Clone for TrendBaselineKind
Source§fn clone(&self) -> TrendBaselineKind
fn clone(&self) -> TrendBaselineKind
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 TrendBaselineKind
impl Debug for TrendBaselineKind
Source§impl PartialEq for TrendBaselineKind
impl PartialEq for TrendBaselineKind
Source§fn eq(&self, other: &TrendBaselineKind) -> bool
fn eq(&self, other: &TrendBaselineKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for TrendBaselineKind
impl StructuralPartialEq for TrendBaselineKind
Auto Trait Implementations§
impl Freeze for TrendBaselineKind
impl RefUnwindSafe for TrendBaselineKind
impl Send for TrendBaselineKind
impl Sync for TrendBaselineKind
impl Unpin for TrendBaselineKind
impl UnsafeUnpin for TrendBaselineKind
impl UnwindSafe for TrendBaselineKind
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