pub struct GetEmploymentTypesResponse {
pub meta: Option<Meta>,
pub id: String,
pub created_at: String,
pub updated_at: String,
pub label: String,
pub name: Option<String>,
pub type_: Option<GetEmploymentTypesResponseType>,
pub compensation_time_period: Option<CompensationTimePeriod>,
pub amount_worked: Option<AmountWorked>,
}
Fields§
§meta: Option<Meta>
§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<GetEmploymentTypesResponseType>
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 GetEmploymentTypesResponse
impl Clone for GetEmploymentTypesResponse
Source§fn clone(&self) -> GetEmploymentTypesResponse
fn clone(&self) -> GetEmploymentTypesResponse
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for GetEmploymentTypesResponse
impl Debug for GetEmploymentTypesResponse
Source§impl<'de> Deserialize<'de> for GetEmploymentTypesResponse
impl<'de> Deserialize<'de> for GetEmploymentTypesResponse
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 GetEmploymentTypesResponse
impl Display for GetEmploymentTypesResponse
Source§impl JsonSchema for GetEmploymentTypesResponse
impl JsonSchema for GetEmploymentTypesResponse
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 Tabled for GetEmploymentTypesResponse
impl Tabled for GetEmploymentTypesResponse
impl StructuralPartialEq for GetEmploymentTypesResponse
Auto Trait Implementations§
impl Freeze for GetEmploymentTypesResponse
impl RefUnwindSafe for GetEmploymentTypesResponse
impl Send for GetEmploymentTypesResponse
impl Sync for GetEmploymentTypesResponse
impl Unpin for GetEmploymentTypesResponse
impl UnwindSafe for GetEmploymentTypesResponse
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.