Struct gusto_api::types::PutCompanyJobApplicantRequest
source · pub struct PutCompanyJobApplicantRequest {
pub date_of_birth: Option<NaiveDate>,
pub email: String,
pub first_name: String,
pub job_title: String,
pub last_name: String,
pub onboarding_person_type: Option<OnboardingPersonType>,
pub phone: String,
pub send_offer: Option<bool>,
pub start_date: Option<NaiveDate>,
}
Expand description
Fields§
§date_of_birth: Option<NaiveDate>
§email: String
§first_name: String
§job_title: String
§last_name: String
§onboarding_person_type: Option<OnboardingPersonType>
Must be “Employee” if send_offer is set to true.
phone: String
§send_offer: Option<bool>
§start_date: Option<NaiveDate>
Trait Implementations§
source§impl Clone for PutCompanyJobApplicantRequest
impl Clone for PutCompanyJobApplicantRequest
source§fn clone(&self) -> PutCompanyJobApplicantRequest
fn clone(&self) -> PutCompanyJobApplicantRequest
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'de> Deserialize<'de> for PutCompanyJobApplicantRequest
impl<'de> Deserialize<'de> for PutCompanyJobApplicantRequest
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>,
Deserialize this value from the given Serde deserializer. Read more
source§impl JsonSchema for PutCompanyJobApplicantRequest
impl JsonSchema for PutCompanyJobApplicantRequest
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moresource§impl PartialEq<PutCompanyJobApplicantRequest> for PutCompanyJobApplicantRequest
impl PartialEq<PutCompanyJobApplicantRequest> for PutCompanyJobApplicantRequest
source§fn eq(&self, other: &PutCompanyJobApplicantRequest) -> bool
fn eq(&self, other: &PutCompanyJobApplicantRequest) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PutCompanyJobApplicantRequest
Auto Trait Implementations§
impl RefUnwindSafe for PutCompanyJobApplicantRequest
impl Send for PutCompanyJobApplicantRequest
impl Sync for PutCompanyJobApplicantRequest
impl Unpin for PutCompanyJobApplicantRequest
impl UnwindSafe for PutCompanyJobApplicantRequest
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
Mutably borrows from an owned value. Read more