[][src]Struct cio_api::applicants::Applicant

pub struct Applicant {
    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>,
}

The data type for an applicant.

Fields

submitted_time: DateTime<Utc>name: Stringemail: Stringlocation: Stringphone: Stringcountry_code: Stringgithub: Stringgitlab: Stringportfolio: Stringwebsite: Stringlinkedin: Stringresume: Stringmaterials: Stringstatus: Stringreceived_application: boolrole: Stringsheet_id: Stringvalue_reflected: Stringvalue_violated: Stringvalues_in_tension: Vec<String>

Implementations

impl Applicant[src]

pub async fn to_airtable<'_, '_>(
    &'_ self,
    drive_client: &'_ GoogleDrive
) -> ApplicantFields
[src]

pub fn human_duration(&self) -> HumanTime[src]

pub fn as_slack_msg(&self) -> Value[src]

pub fn as_company_notification_email(&self) -> String[src]

Trait Implementations

impl Clone for Applicant[src]

impl Debug for Applicant[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.