Enum garminfit::profile::messages::WeatherAlert
source · pub enum WeatherAlert {
Timestamp(Field<DateTime>),
ReportId(Field<Utf8String>),
IssueTime(Field<DateTime>),
ExpireTime(Field<DateTime>),
Severity(Field<WeatherSeverity>),
Type(Field<WeatherSevereType>),
Unknown {
data: Vec<u8>,
field_def_num: u8,
},
}
Variants
Timestamp(Field<DateTime>)
ReportId(Field<Utf8String>)
Unique identifier from GCS report ID string, length is 12
IssueTime(Field<DateTime>)
Time alert was issued
ExpireTime(Field<DateTime>)
Time alert expires
Severity(Field<WeatherSeverity>)
Warning, Watch, Advisory, Statement
Type(Field<WeatherSevereType>)
Tornado, Severe Thunderstorm, etc.
Unknown
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for WeatherAlert
impl Send for WeatherAlert
impl Sync for WeatherAlert
impl Unpin for WeatherAlert
impl UnwindSafe for WeatherAlert
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more