pub struct Applicant {Show 20 fields
pub submitted_time: DateTime<Utc>,
pub name: String,
pub email: String,
pub location: String,
pub phone: String,
pub country_code: String,
pub github: String,
pub gitlab: String,
pub portfolio: String,
pub website: String,
pub linkedin: String,
pub resume: String,
pub materials: String,
pub status: String,
pub received_application: bool,
pub role: String,
pub sheet_id: String,
pub value_reflected: String,
pub value_violated: String,
pub values_in_tension: Vec<String>,
}Expand description
The data type for an applicant.
Fields§
§submitted_time: DateTime<Utc>§name: String§email: String§location: String§phone: String§country_code: String§github: String§gitlab: String§portfolio: String§website: String§linkedin: String§resume: String§materials: String§status: String§received_application: bool§role: String§sheet_id: String§value_reflected: String§value_violated: String§values_in_tension: Vec<String>Implementations§
Source§impl Applicant
impl Applicant
pub async fn to_airtable(&self, drive_client: &GoogleDrive) -> ApplicantFields
pub fn human_duration(&self) -> HumanTime
pub fn as_slack_msg(&self) -> Value
pub fn as_company_notification_email(&self) -> String
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Applicant
impl RefUnwindSafe for Applicant
impl Send for Applicant
impl Sync for Applicant
impl Unpin for Applicant
impl UnwindSafe for Applicant
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
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>
Converts
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>
Converts
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