#[non_exhaustive]pub enum Deviation {
MuchHigher,
Higher,
Normal,
Lower,
MuchLower,
Unknown(String),
}Expand description
Represents the WeatherKit Deviation 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.
MuchHigher
Matches the WeatherKit MuchHigher case.
Higher
Matches the WeatherKit Higher case.
Normal
Matches the WeatherKit Normal case.
Lower
Matches the WeatherKit Lower case.
MuchLower
Matches the WeatherKit MuchLower case.
Unknown(String)
Stores an unrecognized WeatherKit case name.
Trait Implementations§
impl Eq for Deviation
impl StructuralPartialEq for Deviation
Auto Trait Implementations§
impl Freeze for Deviation
impl RefUnwindSafe for Deviation
impl Send for Deviation
impl Sync for Deviation
impl Unpin for Deviation
impl UnsafeUnpin for Deviation
impl UnwindSafe for Deviation
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