#[non_exhaustive]pub enum ProductKind {
Metar,
Taf,
Pirep,
Sigmet,
Airmet,
GAirmet,
Cwa,
Notam,
Other(String),
}Expand description
The kind of an individual briefing product.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Metar
Aerodrome routine/special weather report.
Taf
Terminal aerodrome forecast.
Pirep
Pilot weather report.
Sigmet
Significant meteorological information.
Airmet
Airmen’s meteorological information.
GAirmet
Graphical AIRMET.
Cwa
Center weather advisory.
Notam
Notice to air missions.
Other(String)
A product this crate does not model yet, identified by the source’s own name for it.
Trait Implementations§
Source§impl Clone for ProductKind
impl Clone for ProductKind
Source§fn clone(&self) -> ProductKind
fn clone(&self) -> ProductKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ProductKind
impl Debug for ProductKind
Source§impl<'de> Deserialize<'de> for ProductKind
impl<'de> Deserialize<'de> for ProductKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ProductKind
Source§impl Hash for ProductKind
impl Hash for ProductKind
Source§impl PartialEq for ProductKind
impl PartialEq for ProductKind
Source§fn eq(&self, other: &ProductKind) -> bool
fn eq(&self, other: &ProductKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ProductKind
impl Serialize for ProductKind
impl StructuralPartialEq for ProductKind
Auto Trait Implementations§
impl Freeze for ProductKind
impl RefUnwindSafe for ProductKind
impl Send for ProductKind
impl Sync for ProductKind
impl Unpin for ProductKind
impl UnsafeUnpin for ProductKind
impl UnwindSafe for ProductKind
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