pub struct AtmosphereV1 {
pub altitude_m: Option<f64>,
pub temperature_k: Option<f64>,
pub pressure_pa: Option<f64>,
pub pressure_reference: Option<PressureReferenceV1>,
pub relative_humidity: Option<f64>,
pub latitude_rad: Option<f64>,
}Expand description
Atmospheric station conditions.
Fields§
§altitude_m: Option<f64>§temperature_k: Option<f64>Authoritative station temperature, or None to resolve ICAO standard temperature at
altitude_m.
pressure_pa: Option<f64>Authoritative station pressure, or None to resolve ICAO standard pressure at
altitude_m. Interpreted per pressure_reference (MBA-1397): absolute (the
default) means this value already IS station pressure; qnh means it is a
sea-level-corrected altimeter setting that must be reduced to station pressure at
altitude_m before use.
pressure_reference: Option<PressureReferenceV1>Whether pressure_pa is absolute station pressure or a sea-level-corrected altimeter
setting (QNH, MBA-1397). None (the omitted-field default, and every request from
before this field existed) means PressureReferenceV1::Absolute — byte-identical to
pre-MBA-1397 behavior. Has no effect when pressure_pa is omitted: an omitted pressure
resolves to the ICAO standard station pressure either way.
relative_humidity: Option<f64>§latitude_rad: Option<f64>Trait Implementations§
Source§impl Clone for AtmosphereV1
impl Clone for AtmosphereV1
Source§fn clone(&self) -> AtmosphereV1
fn clone(&self) -> AtmosphereV1
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for AtmosphereV1
impl Debug for AtmosphereV1
Source§impl Default for AtmosphereV1
impl Default for AtmosphereV1
Source§fn default() -> AtmosphereV1
fn default() -> AtmosphereV1
Source§impl<'de> Deserialize<'de> for AtmosphereV1
impl<'de> Deserialize<'de> for AtmosphereV1
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>,
Source§impl PartialEq for AtmosphereV1
impl PartialEq for AtmosphereV1
Source§impl Serialize for AtmosphereV1
impl Serialize for AtmosphereV1
impl StructuralPartialEq for AtmosphereV1
Auto Trait Implementations§
impl Freeze for AtmosphereV1
impl RefUnwindSafe for AtmosphereV1
impl Send for AtmosphereV1
impl Sync for AtmosphereV1
impl Unpin for AtmosphereV1
impl UnwindSafe for AtmosphereV1
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.