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

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

Builder for DownPaymentDeductions instances.

See DownPaymentDeductions::builder() for more info.

Implementations

impl<__title, __voucher_number, __voucher_date, __received_gross_amount, __received_net_amount, __received_tax_amount, __tax_rate_percentage> DownPaymentDeductionsBuilder<((), __title, __voucher_number, __voucher_date, __received_gross_amount, __received_net_amount, __received_tax_amount, __tax_rate_percentage)>[src]

pub fn voucher_type(
    self,
    voucher_type: String
) -> DownPaymentDeductionsBuilder<((Option<String>,), __title, __voucher_number, __voucher_date, __received_gross_amount, __received_net_amount, __received_tax_amount, __tax_rate_percentage)>
[src]

impl<__voucher_type, __voucher_number, __voucher_date, __received_gross_amount, __received_net_amount, __received_tax_amount, __tax_rate_percentage> DownPaymentDeductionsBuilder<(__voucher_type, (), __voucher_number, __voucher_date, __received_gross_amount, __received_net_amount, __received_tax_amount, __tax_rate_percentage)>[src]

pub fn title(
    self,
    title: String
) -> DownPaymentDeductionsBuilder<(__voucher_type, (Option<String>,), __voucher_number, __voucher_date, __received_gross_amount, __received_net_amount, __received_tax_amount, __tax_rate_percentage)>
[src]

impl<__voucher_type, __title, __voucher_date, __received_gross_amount, __received_net_amount, __received_tax_amount, __tax_rate_percentage> DownPaymentDeductionsBuilder<(__voucher_type, __title, (), __voucher_date, __received_gross_amount, __received_net_amount, __received_tax_amount, __tax_rate_percentage)>[src]

pub fn voucher_number(
    self,
    voucher_number: String
) -> DownPaymentDeductionsBuilder<(__voucher_type, __title, (Option<String>,), __voucher_date, __received_gross_amount, __received_net_amount, __received_tax_amount, __tax_rate_percentage)>
[src]

impl<__voucher_type, __title, __voucher_number, __received_gross_amount, __received_net_amount, __received_tax_amount, __tax_rate_percentage> DownPaymentDeductionsBuilder<(__voucher_type, __title, __voucher_number, (), __received_gross_amount, __received_net_amount, __received_tax_amount, __tax_rate_percentage)>[src]

pub fn voucher_date(
    self,
    voucher_date: DateTime
) -> DownPaymentDeductionsBuilder<(__voucher_type, __title, __voucher_number, (Option<DateTime>,), __received_gross_amount, __received_net_amount, __received_tax_amount, __tax_rate_percentage)>
[src]

impl<__voucher_type, __title, __voucher_number, __voucher_date, __received_net_amount, __received_tax_amount, __tax_rate_percentage> DownPaymentDeductionsBuilder<(__voucher_type, __title, __voucher_number, __voucher_date, (), __received_net_amount, __received_tax_amount, __tax_rate_percentage)>[src]

pub fn received_gross_amount(
    self,
    received_gross_amount: f64
) -> DownPaymentDeductionsBuilder<(__voucher_type, __title, __voucher_number, __voucher_date, (Option<f64>,), __received_net_amount, __received_tax_amount, __tax_rate_percentage)>
[src]

impl<__voucher_type, __title, __voucher_number, __voucher_date, __received_gross_amount, __received_tax_amount, __tax_rate_percentage> DownPaymentDeductionsBuilder<(__voucher_type, __title, __voucher_number, __voucher_date, __received_gross_amount, (), __received_tax_amount, __tax_rate_percentage)>[src]

pub fn received_net_amount(
    self,
    received_net_amount: f64
) -> DownPaymentDeductionsBuilder<(__voucher_type, __title, __voucher_number, __voucher_date, __received_gross_amount, (Option<f64>,), __received_tax_amount, __tax_rate_percentage)>
[src]

impl<__voucher_type, __title, __voucher_number, __voucher_date, __received_gross_amount, __received_net_amount, __tax_rate_percentage> DownPaymentDeductionsBuilder<(__voucher_type, __title, __voucher_number, __voucher_date, __received_gross_amount, __received_net_amount, (), __tax_rate_percentage)>[src]

pub fn received_tax_amount(
    self,
    received_tax_amount: f64
) -> DownPaymentDeductionsBuilder<(__voucher_type, __title, __voucher_number, __voucher_date, __received_gross_amount, __received_net_amount, (Option<f64>,), __tax_rate_percentage)>
[src]

impl<__voucher_type, __title, __voucher_number, __voucher_date, __received_gross_amount, __received_net_amount, __received_tax_amount> DownPaymentDeductionsBuilder<(__voucher_type, __title, __voucher_number, __voucher_date, __received_gross_amount, __received_net_amount, __received_tax_amount, ())>[src]

pub fn tax_rate_percentage(
    self,
    tax_rate_percentage: f64
) -> DownPaymentDeductionsBuilder<(__voucher_type, __title, __voucher_number, __voucher_date, __received_gross_amount, __received_net_amount, __received_tax_amount, (Option<f64>,))>
[src]

impl<__voucher_type: DownPaymentDeductionsBuilder_Optional<Option<String>>, __title: DownPaymentDeductionsBuilder_Optional<Option<String>>, __voucher_number: DownPaymentDeductionsBuilder_Optional<Option<String>>, __voucher_date: DownPaymentDeductionsBuilder_Optional<Option<DateTime>>, __received_gross_amount: DownPaymentDeductionsBuilder_Optional<Option<f64>>, __received_net_amount: DownPaymentDeductionsBuilder_Optional<Option<f64>>, __received_tax_amount: DownPaymentDeductionsBuilder_Optional<Option<f64>>, __tax_rate_percentage: DownPaymentDeductionsBuilder_Optional<Option<f64>>> DownPaymentDeductionsBuilder<(__voucher_type, __title, __voucher_number, __voucher_date, __received_gross_amount, __received_net_amount, __received_tax_amount, __tax_rate_percentage)>[src]

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

Finalise the builder and create its DownPaymentDeductions instance

Trait Implementations

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

Auto Trait Implementations

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

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

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

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

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