Struct google_qpxexpress1::LegInfo[][src]

pub struct LegInfo {
    pub origin: Option<String>,
    pub origin_terminal: Option<String>,
    pub mileage: Option<i32>,
    pub secure: Option<bool>,
    pub connection_duration: Option<i32>,
    pub departure_time: Option<String>,
    pub aircraft: Option<String>,
    pub on_time_performance: Option<i32>,
    pub arrival_time: Option<String>,
    pub duration: Option<i32>,
    pub destination: Option<String>,
    pub id: Option<String>,
    pub kind: Option<String>,
    pub destination_terminal: Option<String>,
    pub change_plane: Option<bool>,
    pub operating_disclosure: Option<String>,
    pub meal: Option<String>,
}

Information about a leg. (A leg is the smallest unit of travel, in the case of a flight a takeoff immediately followed by a landing at two set points on a particular carrier with a particular flight number.)

This type is not used in any activity, and only used as part of another schema.

Fields

The leg origin as a city and airport.

The terminal the flight is scheduled to depart from.

The number of miles in this leg.

Whether passenger information must be furnished to the United States Transportation Security Administration (TSA) prior to departure.

Duration of a connection following this leg, in minutes.

The scheduled departure time of the leg, local to the point of departure.

The aircraft (or bus, ferry, railcar, etc) travelling between the two points of this leg.

In percent, the published on time performance on this leg.

The scheduled time of arrival at the destination of the leg, local to the point of arrival.

The scheduled travelling time from the origin to the destination.

The leg destination as a city and airport.

An identifier that uniquely identifies this leg in the solution.

Identifies this as a leg object. A leg is the smallest unit of travel, in the case of a flight a takeoff immediately followed by a landing at two set points on a particular carrier with a particular flight number. Value: the fixed string qpxexpress#legInfo.

The terminal the flight is scheduled to arrive at.

Whether you have to change planes following this leg. Only applies to the next leg.

Department of Transportation disclosure information on the actual operator of a flight in a code share. (A code share refers to a marketing agreement between two carriers, where one carrier will list in its schedules (and take bookings for) flights that are actually operated by another carrier.)

A simple, general description of the meal(s) served on the flight, for example: "Hot meal".

Trait Implementations

impl Default for LegInfo
[src]

Returns the "default value" for a type. Read more

impl Clone for LegInfo
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for LegInfo
[src]

Formats the value using the given formatter. Read more

impl Part for LegInfo
[src]

Auto Trait Implementations

impl Send for LegInfo

impl Sync for LegInfo