[][src]Struct mailchimp::types::MergeFieldOptions

pub struct MergeFieldOptions {
    pub default_country: u64,
    pub phone_format: String,
    pub date_format: String,
    pub choices: Vec<String>,
    pub size: Option<u64>,
}

Merge Field Options

Fields

default_country: u64

In an address field, the default country code if none supplied.

phone_format: String

In a phone field, the phone number type: US or International.

date_format: String

In a date or birthday field, the format of the date.

choices: Vec<String>

In a radio or dropdown non-group field, the available options for members to pick from.

size: Option<u64>

In a text field, the default length of the text field.

Trait Implementations

impl Default for MergeFieldOptions[src]

impl Clone for MergeFieldOptions[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for MergeFieldOptions[src]

impl Serialize for MergeFieldOptions[src]

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

Auto Trait Implementations

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> From for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

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

The type returned in the event of a conversion error.

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

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Erased for T

impl<T, U> TryInto for T where
    U: TryFrom<T>, 

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