[][src]Struct google_accessapproval1::AccessLocations

pub struct AccessLocations {
    pub principal_office_country: Option<String>,
    pub principal_physical_location_country: Option<String>,
}

Home office and physical location of the principal.

This type is not used in any activity, and only used as part of another schema.

Fields

principal_office_country: Option<String>

The "home office" location of the principal. A two-letter country code (ISO 3166-1 alpha-2), such as "US", "DE" or "GB" or a region code. In some limited situations Google systems may refer refer to a region code instead of a country code. Possible Region Codes:

  1. ASI: Asia
  2. EUR: Europe
  3. OCE: Oceania
  4. AFR: Africa
  5. NAM: North America
  6. SAM: South America
  7. ANT: Antarctica
  8. ANY: Any location
principal_physical_location_country: Option<String>

Physical location of the principal at the time of the access. A two-letter country code (ISO 3166-1 alpha-2), such as "US", "DE" or "GB" or a region code. In some limited situations Google systems may refer refer to a region code instead of a country code. Possible Region Codes:

  1. ASI: Asia
  2. EUR: Europe
  3. OCE: Oceania
  4. AFR: Africa
  5. NAM: North America
  6. SAM: South America
  7. ANT: Antarctica
  8. ANY: Any location

Trait Implementations

impl Clone for AccessLocations[src]

impl Debug for AccessLocations[src]

impl Default for AccessLocations[src]

impl<'de> Deserialize<'de> for AccessLocations[src]

impl Part for AccessLocations[src]

impl Serialize for AccessLocations[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any