pub struct IssuingTransactionFlightDataLeg {
pub arrival_airport_code: Option<String>,
pub carrier: Option<String>,
pub departure_airport_code: Option<String>,
pub flight_number: Option<String>,
pub service_class: Option<String>,
pub stopover_allowed: Option<bool>,
}Fields§
§arrival_airport_code: Option<String>The three-letter IATA airport code of the flight’s destination.
carrier: Option<String>The airline carrier code.
departure_airport_code: Option<String>The three-letter IATA airport code that the flight departed from.
flight_number: Option<String>The flight number.
service_class: Option<String>The flight’s service class.
stopover_allowed: Option<bool>Whether a stopover is allowed on this flight.
Trait Implementations§
Source§impl Clone for IssuingTransactionFlightDataLeg
impl Clone for IssuingTransactionFlightDataLeg
Source§fn clone(&self) -> IssuingTransactionFlightDataLeg
fn clone(&self) -> IssuingTransactionFlightDataLeg
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl FromValueOpt for IssuingTransactionFlightDataLeg
impl FromValueOpt for IssuingTransactionFlightDataLeg
fn from_value(v: Value) -> Option<Self>
Source§impl PartialEq for IssuingTransactionFlightDataLeg
impl PartialEq for IssuingTransactionFlightDataLeg
Source§fn eq(&self, other: &IssuingTransactionFlightDataLeg) -> bool
fn eq(&self, other: &IssuingTransactionFlightDataLeg) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for IssuingTransactionFlightDataLeg
impl StructuralPartialEq for IssuingTransactionFlightDataLeg
Auto Trait Implementations§
impl Freeze for IssuingTransactionFlightDataLeg
impl RefUnwindSafe for IssuingTransactionFlightDataLeg
impl Send for IssuingTransactionFlightDataLeg
impl Sync for IssuingTransactionFlightDataLeg
impl Unpin for IssuingTransactionFlightDataLeg
impl UnsafeUnpin for IssuingTransactionFlightDataLeg
impl UnwindSafe for IssuingTransactionFlightDataLeg
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