pub enum WeatherSeverity {
Unknown,
Warning,
Watch,
Advisory,
Statement,
UnknownVariant(u8),
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for WeatherSeverity
impl Clone for WeatherSeverity
Source§fn clone(&self) -> WeatherSeverity
fn clone(&self) -> WeatherSeverity
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 WeatherSeverity
impl Debug for WeatherSeverity
Source§impl Display for WeatherSeverity
impl Display for WeatherSeverity
Source§impl From<&str> for WeatherSeverity
impl From<&str> for WeatherSeverity
Source§impl From<i64> for WeatherSeverity
impl From<i64> for WeatherSeverity
Source§impl From<u8> for WeatherSeverity
impl From<u8> for WeatherSeverity
Source§impl Hash for WeatherSeverity
impl Hash for WeatherSeverity
Source§impl Ord for WeatherSeverity
impl Ord for WeatherSeverity
Source§fn cmp(&self, other: &WeatherSeverity) -> Ordering
fn cmp(&self, other: &WeatherSeverity) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for WeatherSeverity
impl PartialEq for WeatherSeverity
Source§impl PartialOrd for WeatherSeverity
impl PartialOrd for WeatherSeverity
Source§impl Serialize for WeatherSeverity
impl Serialize for WeatherSeverity
impl Copy for WeatherSeverity
impl Eq for WeatherSeverity
impl StructuralPartialEq for WeatherSeverity
Auto Trait Implementations§
impl Freeze for WeatherSeverity
impl RefUnwindSafe for WeatherSeverity
impl Send for WeatherSeverity
impl Sync for WeatherSeverity
impl Unpin for WeatherSeverity
impl UnwindSafe for WeatherSeverity
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