Struct google_qpxexpress1::CityData [−][src]
pub struct CityData { pub country: Option<String>, pub kind: Option<String>, pub code: Option<String>, pub name: Option<String>, }
Information about a city that might be useful to an end-user; typically the city of an airport.
This type is not used in any activity, and only used as part of another schema.
Fields
country: Option<String>
The two-character country code of the country the city is located in. For example, US for the United States of America.
kind: Option<String>
Identifies this as a city, typically with one or more airports. Value: the fixed string qpxexpress#cityData.
code: Option<String>
The IATA character ID of a city. For example, for Boston this is BOS.
name: Option<String>
The full name of a city. An example would be: New York.
Trait Implementations
impl Default for CityData
[src]
impl Default for CityData
impl Clone for CityData
[src]
impl Clone for CityData
fn clone(&self) -> CityData
[src]
fn clone(&self) -> CityData
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for CityData
[src]
impl Debug for CityData
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Part for CityData
[src]
impl Part for CityData