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 copy 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 Default for IssuingTransactionFlightDataLeg
impl Default for IssuingTransactionFlightDataLeg
source§fn default() -> IssuingTransactionFlightDataLeg
fn default() -> IssuingTransactionFlightDataLeg
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for IssuingTransactionFlightDataLeg
impl<'de> Deserialize<'de> for IssuingTransactionFlightDataLeg
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
Auto Trait Implementations§
impl RefUnwindSafe for IssuingTransactionFlightDataLeg
impl Send for IssuingTransactionFlightDataLeg
impl Sync for IssuingTransactionFlightDataLeg
impl Unpin 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