Struct google_qpxexpress1::api::AirportData
source · pub struct AirportData {
pub city: Option<String>,
pub code: Option<String>,
pub kind: Option<String>,
pub name: Option<String>,
}
Expand description
An airport.
This type is not used in any activity, and only used as part of another schema.
Fields§
§city: Option<String>
The city code an airport is located in. For example, for JFK airport, this is NYC.
code: Option<String>
An airport’s code. For example, for Boston Logan airport, this is BOS.
kind: Option<String>
Identifies this as an airport object. Value: the fixed string qpxexpress#airportData.
name: Option<String>
The name of an airport. For example, for airport BOS the name is “Boston Logan International”.
Trait Implementations§
source§impl Clone for AirportData
impl Clone for AirportData
source§fn clone(&self) -> AirportData
fn clone(&self) -> AirportData
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 AirportData
impl Debug for AirportData
source§impl Default for AirportData
impl Default for AirportData
source§fn default() -> AirportData
fn default() -> AirportData
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for AirportData
impl<'de> Deserialize<'de> for AirportData
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 AirportData
impl Serialize for AirportData
impl Part for AirportData
Auto Trait Implementations§
impl RefUnwindSafe for AirportData
impl Send for AirportData
impl Sync for AirportData
impl Unpin for AirportData
impl UnwindSafe for AirportData
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