[][src]Struct cio_api::core::MailingListSignupFields

pub struct MailingListSignupFields {
    pub email: String,
    pub first_name: String,
    pub last_name: String,
    pub company: String,
    pub interest: String,
    pub wants_podcast_updates: bool,
    pub wants_newsletter: bool,
    pub wants_product_updates: bool,
    pub date_added: DateTime<Utc>,
    pub optin_date: DateTime<Utc>,
    pub last_changed: DateTime<Utc>,
}

The Airtable fields type for a mailing list signup.

Fields

email: Stringfirst_name: Stringlast_name: Stringcompany: Stringinterest: Stringwants_podcast_updates: boolwants_newsletter: boolwants_product_updates: booldate_added: DateTime<Utc>optin_date: DateTime<Utc>last_changed: DateTime<Utc>

Implementations

impl MailingListSignupFields[src]

pub fn new(params: HashMap<String, String>) -> Self[src]

pub async fn push_to_airtable<'_>(&'_ self)[src]

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

Trait Implementations

impl Clone for MailingListSignupFields[src]

impl Debug for MailingListSignupFields[src]

impl<'de> Deserialize<'de> for MailingListSignupFields[src]

impl Serialize for MailingListSignupFields[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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.