Struct lexoffice::model::invoices::TaxConditionsBuilder[][src]

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

Builder for TaxConditions instances.

See TaxConditions::builder() for more info.

Implementations

impl<__tax_type_note> TaxConditionsBuilder<((), __tax_type_note)>[src]

pub fn tax_type(
    self,
    tax_type: TaxType
) -> TaxConditionsBuilder<((Option<TaxType>,), __tax_type_note)>
[src]

impl<__tax_type> TaxConditionsBuilder<(__tax_type, ())>[src]

pub fn tax_type_note(
    self,
    tax_type_note: String
) -> TaxConditionsBuilder<(__tax_type, (Option<String>,))>
[src]

impl<__tax_type: TaxConditionsBuilder_Optional<Option<TaxType>>, __tax_type_note: TaxConditionsBuilder_Optional<Option<String>>> TaxConditionsBuilder<(__tax_type, __tax_type_note)>[src]

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

Finalise the builder and create its TaxConditions instance

Trait Implementations

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

Auto Trait Implementations

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

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

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

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

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