#[non_exhaustive]pub struct OpenMeteoSurface {
pub height_msl_m: f64,
pub pressure_pa: f64,
pub temperature_k: f64,
pub relative_humidity: f64,
pub wind_speed_m_s: f64,
pub wind_direction_from_rad: f64,
}Expand description
The ground under the forecast, 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.height_msl_m: f64The response’s elevation: the ground’s height above mean sea level, m.
pressure_pa: f64Surface pressure, Pa.
temperature_k: f64Temperature 2 m above the ground, K.
relative_humidity: f64Relative humidity 2 m above the ground, a fraction.
wind_speed_m_s: f64Wind speed 10 m above the ground, m/s.
wind_direction_from_rad: f64Direction the 10 m wind blows from, clockwise from true north, rad in [0, 2π).
Trait Implementations§
Source§impl Clone for OpenMeteoSurface
impl Clone for OpenMeteoSurface
Source§fn clone(&self) -> OpenMeteoSurface
fn clone(&self) -> OpenMeteoSurface
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 OpenMeteoSurface
Source§impl Debug for OpenMeteoSurface
impl Debug for OpenMeteoSurface
Source§impl<'de> Deserialize<'de> for OpenMeteoSurface
impl<'de> Deserialize<'de> for OpenMeteoSurface
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 OpenMeteoSurface
impl PartialEq for OpenMeteoSurface
Source§fn eq(&self, other: &OpenMeteoSurface) -> bool
fn eq(&self, other: &OpenMeteoSurface) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for OpenMeteoSurface
impl Serialize for OpenMeteoSurface
impl StructuralPartialEq for OpenMeteoSurface
Auto Trait Implementations§
impl Freeze for OpenMeteoSurface
impl RefUnwindSafe for OpenMeteoSurface
impl Send for OpenMeteoSurface
impl Sync for OpenMeteoSurface
impl Unpin for OpenMeteoSurface
impl UnsafeUnpin for OpenMeteoSurface
impl UnwindSafe for OpenMeteoSurface
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