Struct lexoffice::model::down_payment_invoices::AddressBuilder[][src]

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

Builder for Address instances.

See Address::builder() for more info.

Implementations

impl<__name, __supplement, __street, __city, __zip, __country_code> AddressBuilder<((), __name, __supplement, __street, __city, __zip, __country_code)>[src]

pub fn contact_id(
    self,
    contact_id: Uuid
) -> AddressBuilder<((Option<Uuid>,), __name, __supplement, __street, __city, __zip, __country_code)>
[src]

impl<__contact_id, __supplement, __street, __city, __zip, __country_code> AddressBuilder<(__contact_id, (), __supplement, __street, __city, __zip, __country_code)>[src]

pub fn name(
    self,
    name: String
) -> AddressBuilder<(__contact_id, (Option<String>,), __supplement, __street, __city, __zip, __country_code)>
[src]

impl<__contact_id, __name, __street, __city, __zip, __country_code> AddressBuilder<(__contact_id, __name, (), __street, __city, __zip, __country_code)>[src]

pub fn supplement(
    self,
    supplement: String
) -> AddressBuilder<(__contact_id, __name, (Option<String>,), __street, __city, __zip, __country_code)>
[src]

impl<__contact_id, __name, __supplement, __city, __zip, __country_code> AddressBuilder<(__contact_id, __name, __supplement, (), __city, __zip, __country_code)>[src]

pub fn street(
    self,
    street: String
) -> AddressBuilder<(__contact_id, __name, __supplement, (Option<String>,), __city, __zip, __country_code)>
[src]

impl<__contact_id, __name, __supplement, __street, __zip, __country_code> AddressBuilder<(__contact_id, __name, __supplement, __street, (), __zip, __country_code)>[src]

pub fn city(
    self,
    city: String
) -> AddressBuilder<(__contact_id, __name, __supplement, __street, (Option<String>,), __zip, __country_code)>
[src]

impl<__contact_id, __name, __supplement, __street, __city, __country_code> AddressBuilder<(__contact_id, __name, __supplement, __street, __city, (), __country_code)>[src]

pub fn zip(
    self,
    zip: String
) -> AddressBuilder<(__contact_id, __name, __supplement, __street, __city, (Option<String>,), __country_code)>
[src]

impl<__contact_id, __name, __supplement, __street, __city, __zip> AddressBuilder<(__contact_id, __name, __supplement, __street, __city, __zip, ())>[src]

pub fn country_code(
    self,
    country_code: CountryCode
) -> AddressBuilder<(__contact_id, __name, __supplement, __street, __city, __zip, (Option<CountryCode>,))>
[src]

impl<__contact_id: AddressBuilder_Optional<Option<Uuid>>, __name: AddressBuilder_Optional<Option<String>>, __supplement: AddressBuilder_Optional<Option<String>>, __street: AddressBuilder_Optional<Option<String>>, __city: AddressBuilder_Optional<Option<String>>, __zip: AddressBuilder_Optional<Option<String>>, __country_code: AddressBuilder_Optional<Option<CountryCode>>> AddressBuilder<(__contact_id, __name, __supplement, __street, __city, __zip, __country_code)>[src]

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

Finalise the builder and create its Address instance

Trait Implementations

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

Auto Trait Implementations

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

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

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

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

impl<TypedBuilderFields> UnwindSafe for AddressBuilder<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.