[][src]Enum gcp_client::google::cloud::talent::v4beta1::PostingRegion

#[repr(i32)]pub enum PostingRegion {
    Unspecified,
    AdministrativeArea,
    Nation,
    Telecommute,
}

An enum that represents the job posting region. In most cases, job postings don't need to specify a region. If a region is given, jobs are eligible for searches in the specified region.

Variants

Unspecified

If the region is unspecified, the job is only returned if it matches the [LocationFilter][google.cloud.talent.v4beta1.LocationFilter].

AdministrativeArea

In addition to exact location matching, job posting is returned when the [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] in the search query is in the same administrative area as the returned job posting. For example, if a ADMINISTRATIVE_AREA job is posted in "CA, USA", it's returned if [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] has "Mountain View".

Administrative area refers to top-level administrative subdivision of this country. For example, US state, IT region, UK constituent nation and JP prefecture.

Nation

In addition to exact location matching, job is returned when [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] in search query is in the same country as this job. For example, if a NATION_WIDE job is posted in "USA", it's returned if [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] has 'Mountain View'.

Telecommute

Job allows employees to work remotely (telecommute). If locations are provided with this value, the job is considered as having a location, but telecommuting is allowed.

Implementations

impl PostingRegion[src]

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

Returns true if value is a variant of PostingRegion.

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

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

Trait Implementations

impl Clone for PostingRegion[src]

impl Copy for PostingRegion[src]

impl Debug for PostingRegion[src]

impl Default for PostingRegion[src]

impl Eq for PostingRegion[src]

impl From<PostingRegion> for i32[src]

impl Hash for PostingRegion[src]

impl Ord for PostingRegion[src]

impl PartialEq<PostingRegion> for PostingRegion[src]

impl PartialOrd<PostingRegion> for PostingRegion[src]

impl StructuralEq for PostingRegion[src]

impl StructuralPartialEq for PostingRegion[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]