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