Enum google_api_proto::google::cloud::talent::v4beta1::EmploymentType
source · #[repr(i32)]pub enum EmploymentType {
Unspecified = 0,
FullTime = 1,
PartTime = 2,
Contractor = 3,
ContractToHire = 4,
Temporary = 5,
Intern = 6,
Volunteer = 7,
PerDiem = 8,
FlyInFlyOut = 9,
OtherEmploymentType = 10,
}
Expand description
An enum that represents the employment type of a job.
Variants§
Unspecified = 0
The default value if the employment type isn’t specified.
FullTime = 1
The job requires working a number of hours that constitute full time employment, typically 40 or more hours per week.
PartTime = 2
The job entails working fewer hours than a full time job, typically less than 40 hours a week.
Contractor = 3
The job is offered as a contracted, as opposed to a salaried employee, position.
ContractToHire = 4
The job is offered as a contracted position with the understanding that it’s converted into a full-time position at the end of the contract. Jobs of this type are also returned by a search for [EmploymentType.CONTRACTOR][google.cloud.talent.v4beta1.EmploymentType.CONTRACTOR] jobs.
Temporary = 5
The job is offered as a temporary employment opportunity, usually a short-term engagement.
Intern = 6
The job is a fixed-term opportunity for students or entry-level job seekers to obtain on-the-job training, typically offered as a summer position.
Volunteer = 7
The is an opportunity for an individual to volunteer, where there’s no expectation of compensation for the provided services.
PerDiem = 8
The job requires an employee to work on an as-needed basis with a flexible schedule.
FlyInFlyOut = 9
The job involves employing people in remote areas and flying them temporarily to the work site instead of relocating employees and their families permanently.
OtherEmploymentType = 10
The job does not fit any of the other listed types.
Implementations§
source§impl EmploymentType
impl EmploymentType
sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
source§impl Clone for EmploymentType
impl Clone for EmploymentType
source§fn clone(&self) -> EmploymentType
fn clone(&self) -> EmploymentType
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EmploymentType
impl Debug for EmploymentType
source§impl Default for EmploymentType
impl Default for EmploymentType
source§fn default() -> EmploymentType
fn default() -> EmploymentType
source§impl From<EmploymentType> for i32
impl From<EmploymentType> for i32
source§fn from(value: EmploymentType) -> i32
fn from(value: EmploymentType) -> i32
source§impl Hash for EmploymentType
impl Hash for EmploymentType
source§impl Ord for EmploymentType
impl Ord for EmploymentType
source§fn cmp(&self, other: &EmploymentType) -> Ordering
fn cmp(&self, other: &EmploymentType) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl PartialEq for EmploymentType
impl PartialEq for EmploymentType
source§fn eq(&self, other: &EmploymentType) -> bool
fn eq(&self, other: &EmploymentType) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for EmploymentType
impl PartialOrd for EmploymentType
source§fn partial_cmp(&self, other: &EmploymentType) -> Option<Ordering>
fn partial_cmp(&self, other: &EmploymentType) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read moresource§impl TryFrom<i32> for EmploymentType
impl TryFrom<i32> for EmploymentType
§type Error = DecodeError
type Error = DecodeError
source§fn try_from(value: i32) -> Result<EmploymentType, DecodeError>
fn try_from(value: i32) -> Result<EmploymentType, DecodeError>
impl Copy for EmploymentType
impl Eq for EmploymentType
impl StructuralPartialEq for EmploymentType
Auto Trait Implementations§
impl Freeze for EmploymentType
impl RefUnwindSafe for EmploymentType
impl Send for EmploymentType
impl Sync for EmploymentType
impl Unpin for EmploymentType
impl UnwindSafe for EmploymentType
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request