Enum gapi_grpc::google::cloud::talent::v4::PostingRegion [−][src]
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
If the region is unspecified, the job is only returned if it matches the [LocationFilter][google.cloud.talent.v4.LocationFilter].
In addition to exact location matching, job posting is returned when the
[LocationFilter][google.cloud.talent.v4.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.v4.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.
In addition to exact location matching, job is returned when
[LocationFilter][google.cloud.talent.v4.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.v4.LocationFilter] has ‘Mountain View’.
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
impl RefUnwindSafe for PostingRegion
impl Send for PostingRegion
impl Sync for PostingRegion
impl Unpin for PostingRegion
impl UnwindSafe for PostingRegion
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src][+]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
impl<T> From<T> for T
[src][+]
impl<T> Instrument for T
[src][+]
impl<T> Instrument for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> IntoRequest<T> for T
[src][+]
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src][+]
V: MultiLane<T>,