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

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.

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]

Returns the "default value" for a type. Read more

impl Debug for Locale
[src]

Formats the value using the given formatter.

impl Clone for Locale
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more