Enum google_api_proto::google::cloud::talent::v4beta1::JobBenefit
source · #[repr(i32)]pub enum JobBenefit {
Unspecified = 0,
ChildCare = 1,
Dental = 2,
DomesticPartner = 3,
FlexibleHours = 4,
Medical = 5,
LifeInsurance = 6,
ParentalLeave = 7,
RetirementPlan = 8,
SickDays = 9,
Vacation = 10,
Vision = 11,
}
Expand description
An enum that represents employee benefits included with the job.
Variants§
Unspecified = 0
Default value if the type isn’t specified.
ChildCare = 1
The job includes access to programs that support child care, such as daycare.
Dental = 2
The job includes dental services covered by a dental insurance plan.
DomesticPartner = 3
The job offers specific benefits to domestic partners.
FlexibleHours = 4
The job allows for a flexible work schedule.
Medical = 5
The job includes health services covered by a medical insurance plan.
LifeInsurance = 6
The job includes a life insurance plan provided by the employer or available for purchase by the employee.
ParentalLeave = 7
The job allows for a leave of absence to a parent to care for a newborn child.
RetirementPlan = 8
The job includes a workplace retirement plan provided by the employer or available for purchase by the employee.
SickDays = 9
The job allows for paid time off due to illness.
Vacation = 10
The job includes paid time off for vacation.
Vision = 11
The job includes vision services covered by a vision insurance plan.
Implementations§
source§impl JobBenefit
impl JobBenefit
source§impl JobBenefit
impl JobBenefit
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 JobBenefit
impl Clone for JobBenefit
source§fn clone(&self) -> JobBenefit
fn clone(&self) -> JobBenefit
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for JobBenefit
impl Debug for JobBenefit
source§impl Default for JobBenefit
impl Default for JobBenefit
source§fn default() -> JobBenefit
fn default() -> JobBenefit
source§impl From<JobBenefit> for i32
impl From<JobBenefit> for i32
source§fn from(value: JobBenefit) -> i32
fn from(value: JobBenefit) -> i32
source§impl Hash for JobBenefit
impl Hash for JobBenefit
source§impl Ord for JobBenefit
impl Ord for JobBenefit
source§fn cmp(&self, other: &JobBenefit) -> Ordering
fn cmp(&self, other: &JobBenefit) -> 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 JobBenefit
impl PartialEq for JobBenefit
source§fn eq(&self, other: &JobBenefit) -> bool
fn eq(&self, other: &JobBenefit) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for JobBenefit
impl PartialOrd for JobBenefit
source§fn partial_cmp(&self, other: &JobBenefit) -> Option<Ordering>
fn partial_cmp(&self, other: &JobBenefit) -> 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 JobBenefit
impl TryFrom<i32> for JobBenefit
§type Error = UnknownEnumValue
type Error = UnknownEnumValue
source§fn try_from(value: i32) -> Result<JobBenefit, UnknownEnumValue>
fn try_from(value: i32) -> Result<JobBenefit, UnknownEnumValue>
impl Copy for JobBenefit
impl Eq for JobBenefit
impl StructuralPartialEq for JobBenefit
Auto Trait Implementations§
impl Freeze for JobBenefit
impl RefUnwindSafe for JobBenefit
impl Send for JobBenefit
impl Sync for JobBenefit
impl Unpin for JobBenefit
impl UnwindSafe for JobBenefit
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