pub struct FlightPlan {Show 15 fields
pub flight_rules: FlightRules,
pub ac_type: String,
pub filed_tas: u16,
pub origin: String,
pub etd: u16,
pub atd: u16,
pub cruise_level: u32,
pub destination: String,
pub hours_enroute: u8,
pub mins_enroute: u8,
pub hours_fuel: u8,
pub mins_fuel: u8,
pub alternate: String,
pub remarks: String,
pub route: String,
}Fields§
§flight_rules: FlightRules§ac_type: String§filed_tas: u16§origin: String§etd: u16§atd: u16§cruise_level: u32§destination: String§hours_enroute: u8§mins_enroute: u8§hours_fuel: u8§mins_fuel: u8§alternate: String§remarks: String§route: StringImplementations§
Source§impl FlightPlan
impl FlightPlan
pub fn new( flight_rules: FlightRules, ac_type: impl AsRef<str>, filed_tas: u16, origin: impl AsRef<str>, etd: u16, atd: u16, cruise_level: u32, destination: impl AsRef<str>, hours_enroute: u8, mins_enroute: u8, hours_fuel: u8, mins_fuel: u8, alternate: impl AsRef<str>, remarks: impl Into<String>, route: impl AsRef<str>, ) -> FlightPlan
Trait Implementations§
Source§impl Clone for FlightPlan
impl Clone for FlightPlan
Source§fn clone(&self) -> FlightPlan
fn clone(&self) -> FlightPlan
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 FlightPlan
impl Debug for FlightPlan
Source§impl Display for FlightPlan
impl Display for FlightPlan
Source§impl PartialEq for FlightPlan
impl PartialEq for FlightPlan
Source§impl TryFrom<&[&str]> for FlightPlan
impl TryFrom<&[&str]> for FlightPlan
impl Eq for FlightPlan
impl StructuralPartialEq for FlightPlan
Auto Trait Implementations§
impl Freeze for FlightPlan
impl RefUnwindSafe for FlightPlan
impl Send for FlightPlan
impl Sync for FlightPlan
impl Unpin for FlightPlan
impl UnwindSafe for FlightPlan
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