Struct lexoffice::model::countries::CountryBuilder[][src]

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

Builder for Country instances.

See Country::builder() for more info.

Implementations

impl<__country_name_en, __country_name_de, __tax_classification> CountryBuilder<((), __country_name_en, __country_name_de, __tax_classification)>[src]

pub fn country_code(
    self,
    country_code: impl Into<CountryCode>
) -> CountryBuilder<((CountryCode,), __country_name_en, __country_name_de, __tax_classification)>
[src]

impl<__country_code, __country_name_de, __tax_classification> CountryBuilder<(__country_code, (), __country_name_de, __tax_classification)>[src]

pub fn country_name_en(
    self,
    country_name_en: impl Into<String>
) -> CountryBuilder<(__country_code, (String,), __country_name_de, __tax_classification)>
[src]

impl<__country_code, __country_name_en, __tax_classification> CountryBuilder<(__country_code, __country_name_en, (), __tax_classification)>[src]

pub fn country_name_de(
    self,
    country_name_de: impl Into<String>
) -> CountryBuilder<(__country_code, __country_name_en, (String,), __tax_classification)>
[src]

impl<__country_code, __country_name_en, __country_name_de> CountryBuilder<(__country_code, __country_name_en, __country_name_de, ())>[src]

pub fn tax_classification(
    self,
    tax_classification: impl Into<TaxClassification>
) -> CountryBuilder<(__country_code, __country_name_en, __country_name_de, (TaxClassification,))>
[src]

impl CountryBuilder<((CountryCode,), (String,), (String,), (TaxClassification,))>[src]

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

Finalise the builder and create its Country instance

Trait Implementations

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

Auto Trait Implementations

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

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

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

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

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