[][src]Struct google_qpxexpress1::LegInfo

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

origin: Option<String>

The leg origin as a city and airport.

origin_terminal: Option<String>

The terminal the flight is scheduled to depart from.

mileage: Option<i32>

The number of miles in this leg.

secure: Option<bool>

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

connection_duration: Option<i32>

Duration of a connection following this leg, in minutes.

departure_time: Option<String>

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

aircraft: Option<String>

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

on_time_performance: Option<i32>

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

arrival_time: Option<String>

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

duration: Option<i32>

The scheduled travelling time from the origin to the destination.

destination: Option<String>

The leg destination as a city and airport.

id: Option<String>

An identifier that uniquely identifies this leg in the solution.

kind: Option<String>

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.

destination_terminal: Option<String>

The terminal the flight is scheduled to arrive at.

change_plane: Option<bool>

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

operating_disclosure: Option<String>

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.)

meal: Option<String>

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

Trait Implementations

impl Part for LegInfo[src]

impl Default for LegInfo[src]

impl Clone for LegInfo[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for LegInfo[src]

impl Serialize for LegInfo[src]

impl<'de> Deserialize<'de> for LegInfo[src]

Auto Trait Implementations

impl Send for LegInfo

impl Unpin for LegInfo

impl Sync for LegInfo

impl UnwindSafe for LegInfo

impl RefUnwindSafe for LegInfo

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]