pub struct AirportInfo {
pub airport_iata_code: Option<String>,
pub airport_name_override: Option<LocalizedString>,
pub gate: Option<String>,
pub kind: Option<String>,
pub terminal: Option<String>,
}
Expand description
There is no detailed description.
This type is not used in any activity, and only used as part of another schema.
Fields§
§airport_iata_code: Option<String>
Three character IATA airport code. This is a required field for origin
and destination
. Eg: “SFO”
airport_name_override: Option<LocalizedString>
Optional field that overrides the airport city name defined by IATA. By default, Google takes the airportIataCode
provided and maps it to the official airport city name defined by IATA. Official IATA airport city names can be found at IATA airport city names website. For example, for the airport IATA code “LTN”, IATA website tells us that the corresponding airport city is “London”. If this field is not populated, Google would display “London”. However, populating this field with a custom name (eg: “London Luton”) would override it.
gate: Option<String>
A name of the gate. Eg: “B59” or “59”
kind: Option<String>
Identifies what kind of resource this is. Value: the fixed string "walletobjects#airportInfo"
.
terminal: Option<String>
Terminal name. Eg: “INTL” or “I”
Trait Implementations§
Source§impl Clone for AirportInfo
impl Clone for AirportInfo
Source§fn clone(&self) -> AirportInfo
fn clone(&self) -> AirportInfo
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for AirportInfo
impl Debug for AirportInfo
Source§impl Default for AirportInfo
impl Default for AirportInfo
Source§fn default() -> AirportInfo
fn default() -> AirportInfo
Source§impl<'de> Deserialize<'de> for AirportInfo
impl<'de> Deserialize<'de> for AirportInfo
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>,
Source§impl Serialize for AirportInfo
impl Serialize for AirportInfo
impl Part for AirportInfo
Auto Trait Implementations§
impl Freeze for AirportInfo
impl RefUnwindSafe for AirportInfo
impl Send for AirportInfo
impl Sync for AirportInfo
impl Unpin for AirportInfo
impl UnwindSafe for AirportInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more