Enum PrecipitationIntensity
pub enum PrecipitationIntensity {
Light,
Moderate,
Heavy,
Extreme,
Unknown,
Custom(String),
}Expand description
Stable precipitation intensity vocabulary.
Variants§
Light
Light precipitation.
Moderate
Moderate precipitation.
Heavy
Heavy precipitation.
Extreme
Extreme precipitation.
Unknown
Unknown intensity.
Custom(String)
Caller-defined intensity.
Trait Implementations§
§impl Clone for PrecipitationIntensity
impl Clone for PrecipitationIntensity
§fn clone(&self) -> PrecipitationIntensity
fn clone(&self) -> PrecipitationIntensity
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 more§impl Debug for PrecipitationIntensity
impl Debug for PrecipitationIntensity
§impl Display for PrecipitationIntensity
impl Display for PrecipitationIntensity
§impl FromStr for PrecipitationIntensity
impl FromStr for PrecipitationIntensity
§type Err = PrecipitationIntensityParseError
type Err = PrecipitationIntensityParseError
The associated error which can be returned from parsing.
§fn from_str(
value: &str,
) -> Result<PrecipitationIntensity, <PrecipitationIntensity as FromStr>::Err>
fn from_str( value: &str, ) -> Result<PrecipitationIntensity, <PrecipitationIntensity as FromStr>::Err>
Parses a string
s to return a value of this type. Read more§impl Hash for PrecipitationIntensity
impl Hash for PrecipitationIntensity
§impl Ord for PrecipitationIntensity
impl Ord for PrecipitationIntensity
§fn cmp(&self, other: &PrecipitationIntensity) -> Ordering
fn cmp(&self, other: &PrecipitationIntensity) -> 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
§impl PartialEq for PrecipitationIntensity
impl PartialEq for PrecipitationIntensity
§impl PartialOrd for PrecipitationIntensity
impl PartialOrd for PrecipitationIntensity
impl Eq for PrecipitationIntensity
impl StructuralPartialEq for PrecipitationIntensity
Auto Trait Implementations§
impl Freeze for PrecipitationIntensity
impl RefUnwindSafe for PrecipitationIntensity
impl Send for PrecipitationIntensity
impl Sync for PrecipitationIntensity
impl Unpin for PrecipitationIntensity
impl UnsafeUnpin for PrecipitationIntensity
impl UnwindSafe for PrecipitationIntensity
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