Struct rippling_api::types::CompanyEmploymentTypeRequest
source · pub struct CompanyEmploymentTypeRequest {
pub label: String,
pub name: Option<String>,
pub type_: Option<CompanyEmploymentTypeRequestType>,
pub compensation_time_period: Option<CompensationTimePeriod>,
pub amount_worked: Option<AmountWorked>,
}Expand description
Fields§
§label: StringThe display label of the employment type.
name: Option<String>The name of the employment type for non-custom employment types.
type_: Option<CompanyEmploymentTypeRequestType>The classification of the worker by the company. * CONTRACTOR: Contractors are self-employed workers who provide services on a short-term or per-project basis and are not eligible for tax-withholding or benefits. * EMPLOYEE: Employees are hired and managed by an employer, work under the employer’s direct supervision and control, and are protected by law for wages and employment rights.
compensation_time_period: Option<CompensationTimePeriod>The compensation period for the employment type. * SALARIED: Employees that are paid a fixed amount per year. * HOURLY: Employees that are paid a wage per hour worked.
amount_worked: Option<AmountWorked>The amount worked for the employment type. * FULL-TIME: Full-time is at least 30 hours per week. Full-time workers will typically be eligible for benefits. * PART-TIME: Part-time is less than 30 hours per week. These workers may be eligible for benefits, depending on company settings and hours worked. * TEMPORARY: These workers are hired on a temporary basis. You can specify how each worker with this employment type will be paid individually.
Trait Implementations§
source§impl Clone for CompanyEmploymentTypeRequest
impl Clone for CompanyEmploymentTypeRequest
source§fn clone(&self) -> CompanyEmploymentTypeRequest
fn clone(&self) -> CompanyEmploymentTypeRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CompanyEmploymentTypeRequest
impl Debug for CompanyEmploymentTypeRequest
source§impl<'de> Deserialize<'de> for CompanyEmploymentTypeRequest
impl<'de> Deserialize<'de> for CompanyEmploymentTypeRequest
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
source§impl JsonSchema for CompanyEmploymentTypeRequest
impl JsonSchema for CompanyEmploymentTypeRequest
source§fn schema_name() -> String
fn schema_name() -> String
source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref keyword. Read moresource§impl PartialEq for CompanyEmploymentTypeRequest
impl PartialEq for CompanyEmploymentTypeRequest
source§fn eq(&self, other: &CompanyEmploymentTypeRequest) -> bool
fn eq(&self, other: &CompanyEmploymentTypeRequest) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CompanyEmploymentTypeRequest
Auto Trait Implementations§
impl Freeze for CompanyEmploymentTypeRequest
impl RefUnwindSafe for CompanyEmploymentTypeRequest
impl Send for CompanyEmploymentTypeRequest
impl Sync for CompanyEmploymentTypeRequest
impl Unpin for CompanyEmploymentTypeRequest
impl UnwindSafe for CompanyEmploymentTypeRequest
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more