pub struct CompanyEmploymentType {
pub id: String,
pub created_at: String,
pub updated_at: String,
pub label: String,
pub name: Option<String>,
pub type_: Option<CompanyEmploymentTypeType>,
pub compensation_time_period: Option<CompensationTimePeriod>,
pub amount_worked: Option<AmountWorked>,
}
Expand description
CompanyEmploymentType.
Fields§
§id: String
Identifier field
created_at: String
Record creation date
updated_at: String
Record update date
label: String
The display label of the employment type.
name: Option<String>
The name of the employment type for non-custom employment types.
type_: Option<CompanyEmploymentTypeType>
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 CompanyEmploymentType
impl Clone for CompanyEmploymentType
Source§fn clone(&self) -> CompanyEmploymentType
fn clone(&self) -> CompanyEmploymentType
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for CompanyEmploymentType
impl Debug for CompanyEmploymentType
Source§impl<'de> Deserialize<'de> for CompanyEmploymentType
impl<'de> Deserialize<'de> for CompanyEmploymentType
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 Display for CompanyEmploymentType
impl Display for CompanyEmploymentType
Source§impl JsonSchema for CompanyEmploymentType
impl JsonSchema for CompanyEmploymentType
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(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref
keyword. Read moreSource§impl PartialEq for CompanyEmploymentType
impl PartialEq for CompanyEmploymentType
Source§impl Serialize for CompanyEmploymentType
impl Serialize for CompanyEmploymentType
Source§impl Tabled for CompanyEmploymentType
impl Tabled for CompanyEmploymentType
impl StructuralPartialEq for CompanyEmploymentType
Auto Trait Implementations§
impl Freeze for CompanyEmploymentType
impl RefUnwindSafe for CompanyEmploymentType
impl Send for CompanyEmploymentType
impl Sync for CompanyEmploymentType
impl Unpin for CompanyEmploymentType
impl UnwindSafe for CompanyEmploymentType
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§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
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 moreSource§impl<T> IntoResult<T> for T
impl<T> IntoResult<T> for T
type Err = Infallible
fn into_result(self) -> Result<T, <T as IntoResult<T>>::Err>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string
, but without panic on OOM.