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§
Source§impl Clone for ForecastKind
impl Clone for ForecastKind
Source§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 moreSource§impl Debug for ForecastKind
impl Debug for ForecastKind
Source§impl Display for ForecastKind
impl Display for ForecastKind
Source§impl FromStr for ForecastKind
impl FromStr for ForecastKind
Source§impl Hash for ForecastKind
impl Hash for ForecastKind
Source§impl Ord for ForecastKind
impl Ord for ForecastKind
Source§fn cmp(&self, other: &ForecastKind) -> Ordering
fn cmp(&self, other: &ForecastKind) -> 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 ForecastKind
impl PartialEq for ForecastKind
Source§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