#[non_exhaustive]pub struct OpenMeteoLevel {
pub pressure_pa: f64,
pub geopotential_height_m: f64,
pub height_msl_m: f64,
pub temperature_k: f64,
pub relative_humidity: f64,
pub wind_speed_m_s: f64,
pub wind_direction_from_rad: f64,
}Expand description
One pressure level above the ground, at the launch time.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.pressure_pa: f64The level’s pressure, Pa.
geopotential_height_m: f64Its geopotential height as the response gives it, gpm.
height_msl_m: f64Its geometric height above mean sea level, m (WMO-No. 8 eq. 12.16).
temperature_k: f64Temperature, K.
relative_humidity: f64Relative humidity, a fraction.
wind_speed_m_s: f64Wind speed, m/s.
wind_direction_from_rad: f64Direction the wind blows from, clockwise from true north, rad in [0, 2π).
Trait Implementations§
Source§impl Clone for OpenMeteoLevel
impl Clone for OpenMeteoLevel
Source§fn clone(&self) -> OpenMeteoLevel
fn clone(&self) -> OpenMeteoLevel
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for OpenMeteoLevel
Source§impl Debug for OpenMeteoLevel
impl Debug for OpenMeteoLevel
Source§impl<'de> Deserialize<'de> for OpenMeteoLevel
impl<'de> Deserialize<'de> for OpenMeteoLevel
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for OpenMeteoLevel
impl PartialEq for OpenMeteoLevel
Source§fn eq(&self, other: &OpenMeteoLevel) -> bool
fn eq(&self, other: &OpenMeteoLevel) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for OpenMeteoLevel
impl Serialize for OpenMeteoLevel
impl StructuralPartialEq for OpenMeteoLevel
Auto Trait Implementations§
impl Freeze for OpenMeteoLevel
impl RefUnwindSafe for OpenMeteoLevel
impl Send for OpenMeteoLevel
impl Sync for OpenMeteoLevel
impl Unpin for OpenMeteoLevel
impl UnsafeUnpin for OpenMeteoLevel
impl UnwindSafe for OpenMeteoLevel
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more