Struct rusoto_route53::GeoLocation
[−]
[src]
pub struct GeoLocation { pub continent_code: Option<GeoLocationContinentCode>, pub country_code: Option<GeoLocationCountryCode>, pub subdivision_code: Option<GeoLocationSubdivisionCode>, }
A complex type that contains information about a geo location.
Fields
continent_code: Option<GeoLocationContinentCode>
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<GeoLocationCountryCode>
The two-letter code for the country.
subdivision_code: Option<GeoLocationSubdivisionCode>
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]
fn default() -> GeoLocation
Returns the "default value" for a type. Read more
impl Clone for GeoLocation
[src]
fn clone(&self) -> GeoLocation
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more