pub struct SoundingLevel {
pub height_msl_m: f64,
pub temperature_k: f64,
pub pressure_pa: Option<f64>,
pub relative_humidity: Option<f64>,
pub wind_speed_m_s: Option<f64>,
pub wind_direction_from_rad: Option<f64>,
}Expand description
One level of a sounding or forecast profile.
Fields§
§height_msl_m: f64Geometric height above mean sea level, m.
temperature_k: f64Temperature, K.
pressure_pa: Option<f64>Pressure, Pa. Required on the lowest level; filled in hydrostatically where omitted above.
relative_humidity: Option<f64>Relative humidity with respect to liquid water, as a fraction in [0, 1]. Give it on every
level or on none; without it the air is dry.
wind_speed_m_s: Option<f64>Wind speed, m/s. Give it with a direction, on every level or on none.
wind_direction_from_rad: Option<f64>Direction the wind blows from, clockwise from true north, rad.
Trait Implementations§
Source§impl Clone for SoundingLevel
impl Clone for SoundingLevel
Source§fn clone(&self) -> SoundingLevel
fn clone(&self) -> SoundingLevel
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 SoundingLevel
Source§impl Debug for SoundingLevel
impl Debug for SoundingLevel
Source§impl<'de> Deserialize<'de> for SoundingLevel
impl<'de> Deserialize<'de> for SoundingLevel
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 SoundingLevel
impl PartialEq for SoundingLevel
Source§fn eq(&self, other: &SoundingLevel) -> bool
fn eq(&self, other: &SoundingLevel) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SoundingLevel
impl Serialize for SoundingLevel
impl StructuralPartialEq for SoundingLevel
Auto Trait Implementations§
impl Freeze for SoundingLevel
impl RefUnwindSafe for SoundingLevel
impl Send for SoundingLevel
impl Sync for SoundingLevel
impl Unpin for SoundingLevel
impl UnsafeUnpin for SoundingLevel
impl UnwindSafe for SoundingLevel
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