[][src]Struct mailslurp::models::contact_dto::ContactDto

pub struct ContactDto {
    pub company: Option<String>,
    pub created_at: String,
    pub email_addresses: Vec<String>,
    pub first_name: Option<String>,
    pub group_id: Option<String>,
    pub id: String,
    pub last_name: Option<String>,
    pub meta_data: Option<Value>,
    pub opt_out: Option<bool>,
    pub tags: Vec<String>,
}

Fields

company: Option<String>created_at: Stringemail_addresses: Vec<String>first_name: Option<String>group_id: Option<String>id: Stringlast_name: Option<String>meta_data: Option<Value>opt_out: Option<bool>tags: Vec<String>

Implementations

impl ContactDto[src]

pub fn new(
    created_at: String,
    email_addresses: Vec<String>,
    id: String,
    tags: Vec<String>
) -> ContactDto
[src]

Trait Implementations

impl Clone for ContactDto[src]

impl Debug for ContactDto[src]

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

impl PartialEq<ContactDto> for ContactDto[src]

impl Serialize for ContactDto[src]

impl StructuralPartialEq for ContactDto[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.