pub struct AircraftConfig {
pub is_full_data: Option<bool>,
pub lights: Option<AircraftLightsConfig>,
pub engines: Option<AircraftEnginesConfig>,
pub gear_down: Option<bool>,
pub flaps_pct: Option<i32>,
pub spoilers_out: Option<bool>,
pub on_ground: Option<bool>,
pub static_cg_height: Option<f64>,
}Fields§
§is_full_data: Option<bool>§lights: Option<AircraftLightsConfig>§engines: Option<AircraftEnginesConfig>§gear_down: Option<bool>§flaps_pct: Option<i32>§spoilers_out: Option<bool>§on_ground: Option<bool>§static_cg_height: Option<f64>Trait Implementations§
Source§impl Clone for AircraftConfig
impl Clone for AircraftConfig
Source§fn clone(&self) -> AircraftConfig
fn clone(&self) -> AircraftConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AircraftConfig
impl Debug for AircraftConfig
Source§impl Default for AircraftConfig
impl Default for AircraftConfig
Source§fn default() -> AircraftConfig
fn default() -> AircraftConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AircraftConfigwhere
AircraftConfig: Default,
impl<'de> Deserialize<'de> for AircraftConfigwhere
AircraftConfig: Default,
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 Display for AircraftConfig
impl Display for AircraftConfig
Source§impl FromStr for AircraftConfig
impl FromStr for AircraftConfig
Source§impl Serialize for AircraftConfig
impl Serialize for AircraftConfig
impl Copy for AircraftConfig
Auto Trait Implementations§
impl Freeze for AircraftConfig
impl RefUnwindSafe for AircraftConfig
impl Send for AircraftConfig
impl Sync for AircraftConfig
impl Unpin for AircraftConfig
impl UnwindSafe for AircraftConfig
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