Struct lexoffice::model::contacts::EmailAddresses[][src]

pub struct EmailAddresses {
    pub business: Option<Vec<String>>,
    pub office: Option<Vec<String>>,
    pub private: Option<Vec<String>>,
    pub other: Option<Vec<String>>,
}

Please note that it’s only possible to create and change contacts with a maximum of one entry in each of the below described lists. It’s possible to retrieve contacts with more than one entry in the lists, but it’s not possible to update such a contact via the REST API.

Fields

business: Option<Vec<String>>

A list of email addresses. Each entry is of type string and contains an email address.

office: Option<Vec<String>>

A list of email addresses. Each entry is of type string and contains an email address.

private: Option<Vec<String>>

A list of email addresses. Each entry is of type string and contains an email address.

other: Option<Vec<String>>

A list of email addresses. Each entry is of type string and contains an email address.

Implementations

impl EmailAddresses[src]

pub fn builder() -> EmailAddressesBuilder<((), (), (), ())>[src]

Create a builder for building EmailAddresses. On the builder, call .business(...)(optional), .office(...)(optional), .private(...)(optional), .other(...)(optional) to set the values of the fields. Finally, call .build() to create the instance of EmailAddresses.

Trait Implementations

impl Clone for EmailAddresses[src]

impl Debug for EmailAddresses[src]

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

impl PartialEq<EmailAddresses> for EmailAddresses[src]

impl Serialize for EmailAddresses[src]

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