pub struct Candidate {Show 15 fields
pub name: Option<String>,
pub email: Option<String>,
pub job_title: Option<String>,
pub phone_number: Option<String>,
pub candidate_id: Option<String>,
pub start_date: Option<NaiveDate>,
pub salary_unit: Option<SalaryUnit>,
pub salary_per_unit: Option<f64>,
pub signing_bonus: Option<f64>,
pub currency: Option<String>,
pub equity_shares: Option<i64>,
pub department: Option<String>,
pub employment_type: Option<CandidateEmploymentType>,
pub work_location: Option<String>,
pub attachments: Option<Vec<Attachments>>,
}
Expand description
The Rippling candidate model.
Fields§
§name: Option<String>
The candidate’s name.
email: Option<String>
The candidate’s email.
job_title: Option<String>
The candidate’s job title.
phone_number: Option<String>
The candidate’s phone number.
candidate_id: Option<String>
The unique identifier of the candidate from the ATS.
start_date: Option<NaiveDate>
The would-be start date of the candidate.
salary_unit: Option<SalaryUnit>
An ENUM string value, denoting the frequency at which the candidate should be paid once the role begins. Note, the PAY_PERIOD ENUM implies the candidate is paid as per a custom pay period.
salary_per_unit: Option<f64>
The decimal value that the candidate gets paid every salaryUnit time period.
signing_bonus: Option<f64>
The bonus cash given to the candidate as a part of a one time payment, with two decimal digit precision.
currency: Option<String>
A string field of the official currency as listed in ISO 4217.
The number of shares that will be given to the candidate.
department: Option<String>
This is the id of the department from GET/departments.
employment_type: Option<CandidateEmploymentType>
The ENUM type of employment the user will have within Rippling.
work_location: Option<String>
This is the id of the worklocation from GET/work_locations.
attachments: Option<Vec<Attachments>>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Candidate
impl<'de> Deserialize<'de> for Candidate
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 JsonSchema for Candidate
impl JsonSchema for Candidate
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 moreimpl StructuralPartialEq for Candidate
Auto Trait Implementations§
impl Freeze for Candidate
impl RefUnwindSafe for Candidate
impl Send for Candidate
impl Sync for Candidate
impl Unpin for Candidate
impl UnwindSafe for Candidate
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> 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