Enum garminfit::profile::messages::WeatherConditions
source · pub enum WeatherConditions {
Show 17 variants
Timestamp(Field<DateTime>),
WeatherReport(Field<WeatherReport>),
Temperature(Field<Sint8>),
Condition(Field<WeatherStatus>),
WindDirection(Field<Uint16>),
WindSpeed(Field<Uint16>),
PrecipitationProbability(Field<Uint8>),
TemperatureFeelsLike(Field<Sint8>),
RelativeHumidity(Field<Uint8>),
Location(Field<Utf8String>),
ObservedAtTime(Field<DateTime>),
ObservedLocationLat(Field<Sint32>),
ObservedLocationLong(Field<Sint32>),
DayOfWeek(Field<DayOfWeek>),
HighTemperature(Field<Sint8>),
LowTemperature(Field<Sint8>),
Unknown {
data: Vec<u8>,
field_def_num: u8,
},
}
Variants
Timestamp(Field<DateTime>)
time of update for current conditions, else forecast time
WeatherReport(Field<WeatherReport>)
Current or forecast
Temperature(Field<Sint8>)
Condition(Field<WeatherStatus>)
Corresponds to GSC Response weatherIcon field
WindDirection(Field<Uint16>)
WindSpeed(Field<Uint16>)
PrecipitationProbability(Field<Uint8>)
range 0-100
TemperatureFeelsLike(Field<Sint8>)
Heat Index if GCS heatIdx above or equal to 90F or wind chill if GCS windChill below or equal to 32F
RelativeHumidity(Field<Uint8>)
Location(Field<Utf8String>)
string corresponding to GCS response location string
ObservedAtTime(Field<DateTime>)
ObservedLocationLat(Field<Sint32>)
ObservedLocationLong(Field<Sint32>)
DayOfWeek(Field<DayOfWeek>)
HighTemperature(Field<Sint8>)
LowTemperature(Field<Sint8>)
Unknown
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for WeatherConditions
impl Send for WeatherConditions
impl Sync for WeatherConditions
impl Unpin for WeatherConditions
impl UnwindSafe for WeatherConditions
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