pub struct Employment {Show 22 fields
pub address_details: Option<Value>,
pub administrative_details: Option<Value>,
pub bank_account_details: Option<Vec<Value>>,
pub billing_address_details: Option<Value>,
pub company_id: String,
pub contract_details: Option<Value>,
pub country_code: Option<String>,
pub country: Option<Country>,
pub created_at: String,
pub emergency_contact_details: Option<Value>,
pub files: Option<Vec<File>>,
pub full_name: String,
pub id: String,
pub job_title: Option<String>,
pub onboarding_tasks: Option<OnboardingTasks>,
pub personal_details: Option<Value>,
pub personal_email: String,
pub pricing_plan_details: Option<PricingPlanDetails>,
pub provisional_start_date: Option<NaiveDate>,
pub status: Option<EmploymentStatus>,
pub type_: EmploymentType,
pub updated_at: DateTime<Utc>,
}
Expand description
Complete information of 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<Vec<Value>>
§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_code: Option<String>
§country: Option<Country>
A supported country on Remote
created_at: String
§emergency_contact_details: Option<Value>
Emergency contact information. Its properties may vary depending on the country.
files: Option<Vec<File>>
§full_name: String
§id: String
§job_title: Option<String>
§onboarding_tasks: Option<OnboardingTasks>
All tasks that need to be completed before marking the employment as ready
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>
§status: Option<EmploymentStatus>
The status of employment
type_: EmploymentType
§updated_at: DateTime<Utc>
Trait Implementations§
Source§impl Clone for Employment
impl Clone for Employment
Source§fn clone(&self) -> Employment
fn clone(&self) -> Employment
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for Employment
impl Debug for Employment
Source§impl<'de> Deserialize<'de> for Employment
impl<'de> Deserialize<'de> for Employment
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 Employment
impl Display for Employment
Source§impl JsonSchema for Employment
impl JsonSchema for Employment
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 Employment
impl PartialEq for Employment
Source§impl Serialize for Employment
impl Serialize for Employment
Source§impl Tabled for Employment
impl Tabled for Employment
impl StructuralPartialEq for Employment
Auto Trait Implementations§
impl Freeze for Employment
impl RefUnwindSafe for Employment
impl Send for Employment
impl Sync for Employment
impl Unpin for Employment
impl UnwindSafe for Employment
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.