Struct openweathermap::Main [−][src]
pub struct Main { pub temp: f64, pub feels_like: f64, pub pressure: f64, pub humidity: f64, pub temp_min: f64, pub temp_max: f64, pub sea_level: Option<f64>, pub grnd_level: Option<f64>, }
Expand description
Detailed weather report
Fields
temp: f64
feels_like: f64
pressure: f64
Expand description
Atmospheric pressure (on the sea level, if there is no sea_level or grnd_level data), hPa
humidity: f64
Expand description
Humidity, %
temp_min: f64
Expand description
Minimum temperature at the moment. This is minimal currently observed temperature (within large megalopolises and urban areas). Unit Default: Kelvin, Metric: Celsius, Imperial: Fahrenheit.
temp_max: f64
Expand description
Maximum temperature at the moment. This is maximal currently observed temperature (within large megalopolises and urban areas). Unit Default: Kelvin, Metric: Celsius, Imperial: Fahrenheit.
sea_level: Option<f64>
Expand description
Atmospheric pressure on the sea level, hPa
grnd_level: Option<f64>
Expand description
Atmospheric pressure on the ground level, hPa
Trait Implementations
impl<'de> Deserialize<'de> for Main
[src]
impl<'de> Deserialize<'de> for Main
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Main
impl Send for Main
impl Sync for Main
impl Unpin for Main
impl UnwindSafe for Main
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,