Enum ObservationKind
pub enum ObservationKind {
Surface,
UpperAir,
Radar,
Satellite,
Buoy,
Station,
Manual,
Automated,
Unknown,
Custom(String),
}Expand description
Stable weather observation kind vocabulary.
Variants§
Surface
Surface observation.
UpperAir
Upper-air observation.
Radar
Radar observation.
Satellite
Satellite observation.
Buoy
Buoy observation.
Station
Station observation.
Manual
Manual observation.
Automated
Automated observation.
Unknown
Unknown observation kind.
Custom(String)
Caller-defined observation kind text.
Trait Implementations§
§impl Clone for ObservationKind
impl Clone for ObservationKind
§fn clone(&self) -> ObservationKind
fn clone(&self) -> ObservationKind
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 ObservationKind
impl Debug for ObservationKind
§impl Display for ObservationKind
impl Display for ObservationKind
§impl FromStr for ObservationKind
impl FromStr for ObservationKind
§type Err = ObservationKindParseError
type Err = ObservationKindParseError
The associated error which can be returned from parsing.
§fn from_str(
value: &str,
) -> Result<ObservationKind, <ObservationKind as FromStr>::Err>
fn from_str( value: &str, ) -> Result<ObservationKind, <ObservationKind as FromStr>::Err>
Parses a string
s to return a value of this type. Read more§impl Hash for ObservationKind
impl Hash for ObservationKind
§impl Ord for ObservationKind
impl Ord for ObservationKind
§impl PartialEq for ObservationKind
impl PartialEq for ObservationKind
§impl PartialOrd for ObservationKind
impl PartialOrd for ObservationKind
impl Eq for ObservationKind
impl StructuralPartialEq for ObservationKind
Auto Trait Implementations§
impl Freeze for ObservationKind
impl RefUnwindSafe for ObservationKind
impl Send for ObservationKind
impl Sync for ObservationKind
impl Unpin for ObservationKind
impl UnsafeUnpin for ObservationKind
impl UnwindSafe for ObservationKind
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