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

Fields

data: Vec<u8>
field_def_num: u8

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.