Struct windy_station::Station[][src]

pub struct Station {
    pub id: u32,
    pub visibility: StationVisibility,
    pub name: String,
    pub latitude: f32,
    pub longitude: f32,
    pub elevation: u32,
    pub temp_height: u32,
    pub wind_height: u32,
}

Fields

id: u32

Identifies the station if multiple stations are registered with an account.

visibility: StationVisibility

Data sharing policy

name: String

Name of the station

latitude: f32

North–south position on the Earth`s surface, in degrees.

longitude: f32

East-west position on the Earth's surface, in degrees.

elevation: u32

Elevation above sea level (reference geoid), in meters.

temp_height: u32

Temperature sensor height above the surface, in meters.

wind_height: u32

Wind sensor height above the surface, in meters.

Trait Implementations

impl Clone for Station[src]

impl Debug for Station[src]

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

impl PartialEq<Station> for Station[src]

impl Serialize for Station[src]

impl StructuralPartialEq for Station[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> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.