[][src]Struct brtsky::WeatherData

pub struct WeatherData {
    pub timestamp: DateTime<FixedOffset>,
    pub source_id: i32,
    pub precipitation: f32,
    pub pressure_msl: f32,
    pub sunshine: f32,
    pub temperature: f32,
    pub wind_direction: f32,
    pub wind_speed: f32,
    pub cloud_cover: f32,
    pub dew_point: f32,
    pub relative_humidity: Option<f32>,
    pub visibility: f32,
    pub wind_gust_direction: Option<f32>,
    pub wind_gust_speed: f32,
    pub condition: Condition,
    pub icon: String,
    pub fallback_source_ids: Option<Value>,
}

Fields

timestamp: DateTime<FixedOffset>source_id: i32precipitation: f32pressure_msl: f32sunshine: f32temperature: f32wind_direction: f32wind_speed: f32cloud_cover: f32dew_point: f32relative_humidity: Option<f32>visibility: f32wind_gust_direction: Option<f32>wind_gust_speed: f32condition: Conditionicon: Stringfallback_source_ids: Option<Value>

Trait Implementations

impl Debug for WeatherData[src]

impl<'de> Deserialize<'de> for WeatherData[src]

impl PartialEq<WeatherData> for WeatherData[src]

impl StructuralPartialEq for WeatherData[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.