[][src]Enum gcp_client::google::cloud::talent::v4beta1::location::LocationType

#[repr(i32)]pub enum LocationType {
    Unspecified,
    Country,
    AdministrativeArea,
    SubAdministrativeArea,
    Locality,
    PostalCode,
    SubLocality,
    SubLocality1,
    SubLocality2,
    Neighborhood,
    StreetAddress,
}

An enum which represents the type of a location.

Variants

Unspecified

Default value if the type isn't specified.

Country

A country level location.

AdministrativeArea

A state or equivalent level location.

SubAdministrativeArea

A county or equivalent level location.

Locality

A city or equivalent level location.

PostalCode

A postal code level location.

SubLocality

A sublocality is a subdivision of a locality, for example a city borough, ward, or arrondissement. Sublocalities are usually recognized by a local political authority. For example, Manhattan and Brooklyn are recognized as boroughs by the City of New York, and are therefore modeled as sublocalities.

SubLocality1

A district or equivalent level location.

SubLocality2

A smaller district or equivalent level display.

Neighborhood

A neighborhood level location.

StreetAddress

A street address level location.

Implementations

impl LocationType[src]

pub fn is_valid(value: i32) -> bool[src]

Returns true if value is a variant of LocationType.

pub fn from_i32(value: i32) -> Option<LocationType>[src]

Converts an i32 to a LocationType, or None if value is not a valid variant.

Trait Implementations

impl Clone for LocationType[src]

impl Copy for LocationType[src]

impl Debug for LocationType[src]

impl Default for LocationType[src]

impl Eq for LocationType[src]

impl From<LocationType> for i32[src]

impl Hash for LocationType[src]

impl Ord for LocationType[src]

impl PartialEq<LocationType> for LocationType[src]

impl PartialOrd<LocationType> for LocationType[src]

impl StructuralEq for LocationType[src]

impl StructuralPartialEq for LocationType[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<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

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

impl<T> Instrument for T[src]

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

impl<T> IntoRequest<T> for 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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]