Struct google_qpxexpress1::api::FlightInfo
source · pub struct FlightInfo {
pub carrier: Option<String>,
pub number: Option<String>,
}
Expand description
A flight is a sequence of legs with the same airline carrier and flight number. (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.) The naive view is that a flight is scheduled travel of an aircraft between two points, with possibly intermediate stops, but carriers will frequently list flights that require a change of aircraft between legs.
This type is not used in any activity, and only used as part of another schema.
Fields§
§carrier: Option<String>
no description provided
number: Option<String>
The flight number.
Trait Implementations§
source§impl Clone for FlightInfo
impl Clone for FlightInfo
source§fn clone(&self) -> FlightInfo
fn clone(&self) -> FlightInfo
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 Debug for FlightInfo
impl Debug for FlightInfo
source§impl Default for FlightInfo
impl Default for FlightInfo
source§fn default() -> FlightInfo
fn default() -> FlightInfo
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for FlightInfo
impl<'de> Deserialize<'de> for FlightInfo
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
source§impl Serialize for FlightInfo
impl Serialize for FlightInfo
impl Part for FlightInfo
Auto Trait Implementations§
impl RefUnwindSafe for FlightInfo
impl Send for FlightInfo
impl Sync for FlightInfo
impl Unpin for FlightInfo
impl UnwindSafe for FlightInfo
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