pub struct EmploymentFullParams {Show 15 fields
pub address_details: Option<Value>,
pub administrative_details: Option<Value>,
pub bank_account_details: Option<Value>,
pub billing_address_details: Option<Value>,
pub company_id: String,
pub contract_details: Option<Value>,
pub country: Option<Country>,
pub emergency_contact_details: Option<Value>,
pub full_name: String,
pub job_title: Option<String>,
pub manager_id: Option<String>,
pub personal_details: Option<Value>,
pub personal_email: String,
pub pricing_plan_details: Option<PricingPlanDetails>,
pub provisional_start_date: Option<NaiveDate>,
}
Expand description
Description of the basic required and onboarding tasks params to create an employment. You do not need to include all onboarding tasks when creating or updating an employment.
Fields§
§address_details: Option<Value>
Home address information. As its properties may vary depending on the country,
you must query the Show form schema endpoint
passing the country code and address_details
as path parameters.
administrative_details: Option<Value>
Administrative information. As its properties may vary depending on the country,
you must query the Show form schema endpoint
passing the country code and administrative_details
as path parameters.
bank_account_details: Option<Value>
Bank account information. As its properties may vary depending on the country,
you must query the Show form schema endpoint
passing the country code and bank_account_details
as path parameters.
billing_address_details: Option<Value>
Billing address information. As its properties may vary depending on the country,
you must query the Show form schema endpoint
passing the country code and billing_address_details
as path parameters.
company_id: String
§contract_details: Option<Value>
Contract information. As its properties may vary depending on the country,
you must query the Show form schema endpoint
passing the country code and contract_details
as path parameters.
country: Option<Country>
A supported country on Remote
emergency_contact_details: Option<Value>
Emergency contact information. Its properties may vary depending on the country.
full_name: String
§job_title: Option<String>
§manager_id: Option<String>
The user id of the manager, who should have an admin
, owner
or people_manager
role.
You can find these users by querying the Company Managers endpoint.
Update of this field is only available for active employments.
personal_details: Option<Value>
Personal details information. As its properties may vary depending on the country,
you must query the Show form schema endpoint
passing the country code and personal_details
as path parameters.
personal_email: String
§pricing_plan_details: Option<PricingPlanDetails>
Selected type of payment.
provisional_start_date: Option<NaiveDate>
Required for employees, optional for contractors
Trait Implementations§
Source§impl Clone for EmploymentFullParams
impl Clone for EmploymentFullParams
Source§fn clone(&self) -> EmploymentFullParams
fn clone(&self) -> EmploymentFullParams
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for EmploymentFullParams
impl Debug for EmploymentFullParams
Source§impl<'de> Deserialize<'de> for EmploymentFullParams
impl<'de> Deserialize<'de> for EmploymentFullParams
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 EmploymentFullParams
impl Display for EmploymentFullParams
Source§impl JsonSchema for EmploymentFullParams
impl JsonSchema for EmploymentFullParams
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 EmploymentFullParams
impl PartialEq for EmploymentFullParams
Source§impl Serialize for EmploymentFullParams
impl Serialize for EmploymentFullParams
Source§impl Tabled for EmploymentFullParams
impl Tabled for EmploymentFullParams
impl StructuralPartialEq for EmploymentFullParams
Auto Trait Implementations§
impl Freeze for EmploymentFullParams
impl RefUnwindSafe for EmploymentFullParams
impl Send for EmploymentFullParams
impl Sync for EmploymentFullParams
impl Unpin for EmploymentFullParams
impl UnwindSafe for EmploymentFullParams
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 more