Struct rusoto_mturk::Locale
[−]
[src]
pub struct Locale { pub country: String, pub subdivision: Option<String>, }
The Locale data structure represents a geographical region or location.
Fields
country: String
The country of the locale. Must be a valid ISO 3166 country code. For example, the code US refers to the United States of America.
subdivision: Option<String>
The state or subdivision of the locale. A valid ISO 3166-2 subdivision code. For example, the code WA refers to the state of Washington.
Trait Implementations
impl Default for Locale
[src]
impl Debug for Locale
[src]
impl Clone for Locale
[src]
fn clone(&self) -> Locale
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