Enum ForecastKind
pub enum ForecastKind {
Nowcast,
ShortRange,
MediumRange,
LongRange,
Seasonal,
ClimateOutlook,
Unknown,
Custom(String),
}Expand description
Stable forecast kind vocabulary.
Variants§
Nowcast
Nowcast.
ShortRange
Short-range forecast.
MediumRange
Medium-range forecast.
LongRange
Long-range forecast.
Seasonal
Seasonal forecast.
ClimateOutlook
Climate outlook.
Unknown
Unknown forecast kind.
Custom(String)
Caller-defined forecast kind.
Trait Implementations§
§impl Clone for ForecastKind
impl Clone for ForecastKind
§fn clone(&self) -> ForecastKind
fn clone(&self) -> ForecastKind
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 ForecastKind
impl Debug for ForecastKind
§impl Display for ForecastKind
impl Display for ForecastKind
§impl FromStr for ForecastKind
impl FromStr for ForecastKind
§type Err = ForecastKindParseError
type Err = ForecastKindParseError
The associated error which can be returned from parsing.
§fn from_str(value: &str) -> Result<ForecastKind, <ForecastKind as FromStr>::Err>
fn from_str(value: &str) -> Result<ForecastKind, <ForecastKind as FromStr>::Err>
Parses a string
s to return a value of this type. Read more§impl Hash for ForecastKind
impl Hash for ForecastKind
§impl Ord for ForecastKind
impl Ord for ForecastKind
§impl PartialEq for ForecastKind
impl PartialEq for ForecastKind
§impl PartialOrd for ForecastKind
impl PartialOrd for ForecastKind
impl Eq for ForecastKind
impl StructuralPartialEq for ForecastKind
Auto Trait Implementations§
impl Freeze for ForecastKind
impl RefUnwindSafe for ForecastKind
impl Send for ForecastKind
impl Sync for ForecastKind
impl Unpin for ForecastKind
impl UnsafeUnpin for ForecastKind
impl UnwindSafe for ForecastKind
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