AvFlight

Struct AvFlight 

Source
pub struct AvFlight<'a> {
Show 21 fields pub index: u8, pub is_share_flight: bool, pub flight_no: &'a str, pub real_flight_no: Option<&'a str>, pub flight_status: &'a str, pub dpt: &'a str, pub arr: &'a str, pub take_off: &'a str, pub landing: &'a str, pub model: &'a str, pub dpt_terminal: Option<&'a str>, pub arr_terminal: Option<&'a str>, pub duration: Option<&'a str>, pub is_eticket: bool, pub meal: &'a str, pub stops: u8, pub cabins: Vec<AvCabin<'a>>, pub raw_text: &'a str, pub is_marriage_flight: bool, pub union_flights: Vec<AvFlight<'a>>, pub asr: bool,
}
Expand description

The flights of an Av.

Fields§

§index: u8§is_share_flight: bool§flight_no: &'a str§real_flight_no: Option<&'a str>§flight_status: &'a str§dpt: &'a str§arr: &'a str§take_off: &'a str§landing: &'a str§model: &'a str§dpt_terminal: Option<&'a str>§arr_terminal: Option<&'a str>§duration: Option<&'a str>§is_eticket: bool§meal: &'a str§stops: u8§cabins: Vec<AvCabin<'a>>§raw_text: &'a str§is_marriage_flight: bool§union_flights: Vec<AvFlight<'a>>§asr: bool

Trait Implementations§

Source§

impl<'a> Debug for AvFlight<'a>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'a> Default for AvFlight<'a>

Source§

fn default() -> AvFlight<'a>

Returns the “default value” for a type. Read more

Auto Trait Implementations§

§

impl<'a> Freeze for AvFlight<'a>

§

impl<'a> RefUnwindSafe for AvFlight<'a>

§

impl<'a> Send for AvFlight<'a>

§

impl<'a> Sync for AvFlight<'a>

§

impl<'a> Unpin for AvFlight<'a>

§

impl<'a> UnwindSafe for AvFlight<'a>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.