[−][src]Struct google_qpxexpress1::LegInfo
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(&self) -> 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]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for LegInfo
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
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]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Typeable for T where
T: Any,
T: Any,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,