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

#[must_use]pub struct CompanyContactPersonBuilder<TypedBuilderFields> { /* fields omitted */ }

Builder for CompanyContactPerson instances.

See CompanyContactPerson::builder() for more info.

Implementations

impl<__first_name, __last_name, __primary, __email_address, __phone_number> CompanyContactPersonBuilder<((), __first_name, __last_name, __primary, __email_address, __phone_number)>[src]

pub fn salutation(
    self,
    salutation: String
) -> CompanyContactPersonBuilder<((Option<String>,), __first_name, __last_name, __primary, __email_address, __phone_number)>
[src]

impl<__salutation, __last_name, __primary, __email_address, __phone_number> CompanyContactPersonBuilder<(__salutation, (), __last_name, __primary, __email_address, __phone_number)>[src]

pub fn first_name(
    self,
    first_name: String
) -> CompanyContactPersonBuilder<(__salutation, (Option<String>,), __last_name, __primary, __email_address, __phone_number)>
[src]

impl<__salutation, __first_name, __primary, __email_address, __phone_number> CompanyContactPersonBuilder<(__salutation, __first_name, (), __primary, __email_address, __phone_number)>[src]

pub fn last_name(
    self,
    last_name: impl Into<String>
) -> CompanyContactPersonBuilder<(__salutation, __first_name, (String,), __primary, __email_address, __phone_number)>
[src]

impl<__salutation, __first_name, __last_name, __email_address, __phone_number> CompanyContactPersonBuilder<(__salutation, __first_name, __last_name, (), __email_address, __phone_number)>[src]

pub fn primary(
    self,
    primary: bool
) -> CompanyContactPersonBuilder<(__salutation, __first_name, __last_name, (Option<bool>,), __email_address, __phone_number)>
[src]

impl<__salutation, __first_name, __last_name, __primary, __phone_number> CompanyContactPersonBuilder<(__salutation, __first_name, __last_name, __primary, (), __phone_number)>[src]

pub fn email_address(
    self,
    email_address: String
) -> CompanyContactPersonBuilder<(__salutation, __first_name, __last_name, __primary, (Option<String>,), __phone_number)>
[src]

impl<__salutation, __first_name, __last_name, __primary, __email_address> CompanyContactPersonBuilder<(__salutation, __first_name, __last_name, __primary, __email_address, ())>[src]

pub fn phone_number(
    self,
    phone_number: String
) -> CompanyContactPersonBuilder<(__salutation, __first_name, __last_name, __primary, __email_address, (Option<String>,))>
[src]

impl<__salutation: CompanyContactPersonBuilder_Optional<Option<String>>, __first_name: CompanyContactPersonBuilder_Optional<Option<String>>, __primary: CompanyContactPersonBuilder_Optional<Option<bool>>, __email_address: CompanyContactPersonBuilder_Optional<Option<String>>, __phone_number: CompanyContactPersonBuilder_Optional<Option<String>>> CompanyContactPersonBuilder<(__salutation, __first_name, (String,), __primary, __email_address, __phone_number)>[src]

pub fn build(self) -> CompanyContactPerson[src]

Finalise the builder and create its CompanyContactPerson instance

Trait Implementations

impl<TypedBuilderFields> Clone for CompanyContactPersonBuilder<TypedBuilderFields> where
    TypedBuilderFields: Clone
[src]

Auto Trait Implementations

impl<TypedBuilderFields> RefUnwindSafe for CompanyContactPersonBuilder<TypedBuilderFields> where
    TypedBuilderFields: RefUnwindSafe

impl<TypedBuilderFields> Send for CompanyContactPersonBuilder<TypedBuilderFields> where
    TypedBuilderFields: Send

impl<TypedBuilderFields> Sync for CompanyContactPersonBuilder<TypedBuilderFields> where
    TypedBuilderFields: Sync

impl<TypedBuilderFields> Unpin for CompanyContactPersonBuilder<TypedBuilderFields> where
    TypedBuilderFields: Unpin

impl<TypedBuilderFields> UnwindSafe for CompanyContactPersonBuilder<TypedBuilderFields> where
    TypedBuilderFields: UnwindSafe

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> 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.