pub struct ResolvedEffectsV1 {
pub magnus: bool,
pub coriolis: bool,
pub enhanced_spin_drift: bool,
pub wind_shear_model: Option<WindShearModelV1>,
pub aerodynamic_jump: Option<bool>,
}Expand description
Resolved physical-effect switches.
Fields§
§magnus: bool§coriolis: bool§enhanced_spin_drift: bool§wind_shear_model: Option<WindShearModelV1>Echo of the wind shear model that was actually applied (0.36.0), in its canonical spelling. Present only when the raw request supplied one — an omitted field leaves this absent, so responses to pre-0.36.0 requests serialize byte-identically.
aerodynamic_jump: Option<bool>Echo of the aerodynamic-jump switch (MBA-959). Present only when the raw request supplied one, so a response to a request written before this field existed serializes byte-identically.
Option<bool> rather than the bare bool its three older siblings use, and
deliberately: those are always echoed, so a false on them is indistinguishable from
a default, whereas this field keeps supplied-false and omitted apart. That is the
same additive-echo shape wind_shear_model above it uses, and it is the one that lets
an echo round-trip back into an identical request.
Trait Implementations§
Source§impl Clone for ResolvedEffectsV1
impl Clone for ResolvedEffectsV1
Source§impl Debug for ResolvedEffectsV1
impl Debug for ResolvedEffectsV1
Source§impl<'de> Deserialize<'de> for ResolvedEffectsV1
impl<'de> Deserialize<'de> for ResolvedEffectsV1
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>,
impl Eq for ResolvedEffectsV1
Source§impl PartialEq for ResolvedEffectsV1
impl PartialEq for ResolvedEffectsV1
Source§impl Serialize for ResolvedEffectsV1
impl Serialize for ResolvedEffectsV1
impl StructuralPartialEq for ResolvedEffectsV1
Auto Trait Implementations§
impl Freeze for ResolvedEffectsV1
impl RefUnwindSafe for ResolvedEffectsV1
impl Send for ResolvedEffectsV1
impl Sync for ResolvedEffectsV1
impl Unpin for ResolvedEffectsV1
impl UnsafeUnpin for ResolvedEffectsV1
impl UnwindSafe for ResolvedEffectsV1
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<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.impl<T> Scalar for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read moreSource§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).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.