pub struct FlightHeader {
pub carrier: Option<FlightCarrier>,
pub flight_number: Option<String>,
pub flight_number_display_override: Option<String>,
pub kind: Option<String>,
pub operating_carrier: Option<FlightCarrier>,
pub operating_flight_number: Option<String>,
}Expand description
There is no detailed description.
This type is not used in any activity, and only used as part of another schema.
Fields§
§carrier: Option<FlightCarrier>Information about airline carrier. This is a required property of flightHeader.
flight_number: Option<String>The flight number without IATA carrier code. This field should contain only digits. This is a required property of flightHeader. eg: “123”
flight_number_display_override: Option<String>Override value to use for flight number. The default value used for display purposes is carrier + flight_number. If a different value needs to be shown to passengers, use this field to override the default behavior. eg: “XX1234 / YY576”
kind: Option<String>Identifies what kind of resource this is. Value: the fixed string "walletobjects#flightHeader".
operating_carrier: Option<FlightCarrier>Information about operating airline carrier.
operating_flight_number: Option<String>The flight number used by the operating carrier without IATA carrier code. This field should contain only digits. eg: “234”
Trait Implementations§
Source§impl Clone for FlightHeader
impl Clone for FlightHeader
Source§fn clone(&self) -> FlightHeader
fn clone(&self) -> FlightHeader
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more