Struct rusoto_route53::GeoLocation [−][src]
pub struct GeoLocation { pub continent_code: Option<String>, pub country_code: Option<String>, pub subdivision_code: Option<String>, }
A complex type that contains information about a geo location.
Fields
continent_code: Option<String>
The two-letter code for the continent.
Valid values: AF
| AN
| AS
| EU
| OC
| NA
| SA
Constraint: Specifying ContinentCode
with either CountryCode
or SubdivisionCode
returns an InvalidInput
error.
country_code: Option<String>
The two-letter code for the country.
subdivision_code: Option<String>
The code for the subdivision, for example, a state in the United States or a province in Canada.
Trait Implementations
impl Default for GeoLocation
[src]
impl Default for GeoLocation
fn default() -> GeoLocation
[src]
fn default() -> GeoLocation
Returns the "default value" for a type. Read more
impl Debug for GeoLocation
[src]
impl Debug for GeoLocation
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 Clone for GeoLocation
[src]
impl Clone for GeoLocation
fn clone(&self) -> GeoLocation
[src]
fn clone(&self) -> GeoLocation
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 PartialEq for GeoLocation
[src]
impl PartialEq for GeoLocation
fn eq(&self, other: &GeoLocation) -> bool
[src]
fn eq(&self, other: &GeoLocation) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &GeoLocation) -> bool
[src]
fn ne(&self, other: &GeoLocation) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for GeoLocation
impl Send for GeoLocation
impl Sync for GeoLocation
impl Sync for GeoLocation