Struct rippling_api::types::WorkerRequest
source · pub struct WorkerRequest {Show 22 fields
pub user_id: Option<String>,
pub legal_entity_id: Option<String>,
pub country: Option<WorkerRequestCountry>,
pub start_date: Option<String>,
pub end_date: Option<String>,
pub number: Option<i64>,
pub work_email: Option<String>,
pub personal_email: Option<String>,
pub status: Option<WorkerRequestStatus>,
pub location: Option<WorkerLocation>,
pub employment_type_id: Option<String>,
pub gender: Option<Gender>,
pub date_of_birth: Option<String>,
pub race: Option<Race>,
pub ethnicity: Option<Ethnicity>,
pub citizenship: Option<Citizenship>,
pub compensation_id: Option<String>,
pub department_id: Option<String>,
pub teams_id: Option<String>,
pub title: Option<String>,
pub level_id: Option<String>,
pub termination_details: Option<TerminationDetails>,
}Expand description
Fields§
§user_id: Option<String>The worker’s associated user.
legal_entity_id: Option<String>The worker’s associated legal entity.
country: Option<WorkerRequestCountry>The worker’s country.
start_date: Option<String>The start date of the worker.
end_date: Option<String>The end date of the worker.
number: Option<i64>The worker’s number within the organization.
work_email: Option<String>The worker’s associated work email address.
personal_email: Option<String>The worker’s associated personal email address.
status: Option<WorkerRequestStatus>The worker’s status within the organization.
location: Option<WorkerLocation>The location that the worker is mapped to for tax purposes. In the case that a worker is remote, the location’s type is remote.
employment_type_id: Option<String>The worker’s employment type.
gender: Option<Gender>The gender of the worker, if specified.
date_of_birth: Option<String>The worker’s date of birth.
race: Option<Race>The identified race of the worker, if specified.
ethnicity: Option<Ethnicity>The identified ethnicity of the worker, if specified.
citizenship: Option<Citizenship>The countries that the worker has citizenship in.
compensation_id: Option<String>The compensation package for the worker.
department_id: Option<String>The worker’s assigned department.
teams_id: Option<String>The worker’s assigned teams.
title: Option<String>The worker’s title.
level_id: Option<String>The level of the worker.
termination_details: Option<TerminationDetails>The details of the worker’s termination, if applicable.
Trait Implementations§
source§impl Clone for WorkerRequest
impl Clone for WorkerRequest
source§fn clone(&self) -> WorkerRequest
fn clone(&self) -> WorkerRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for WorkerRequest
impl Debug for WorkerRequest
source§impl<'de> Deserialize<'de> for WorkerRequest
impl<'de> Deserialize<'de> for WorkerRequest
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 WorkerRequest
impl Display for WorkerRequest
source§impl JsonSchema for WorkerRequest
impl JsonSchema for WorkerRequest
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 WorkerRequest
impl PartialEq for WorkerRequest
source§impl Serialize for WorkerRequest
impl Serialize for WorkerRequest
source§impl Tabled for WorkerRequest
impl Tabled for WorkerRequest
impl StructuralPartialEq for WorkerRequest
Auto Trait Implementations§
impl Freeze for WorkerRequest
impl RefUnwindSafe for WorkerRequest
impl Send for WorkerRequest
impl Sync for WorkerRequest
impl Unpin for WorkerRequest
impl UnwindSafe for WorkerRequest
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