Struct lexoffice::model::credit_notes::CreditNoteBuilder[][src]

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

Builder for CreditNote instances.

See CreditNote::builder() for more info.

Implementations

impl<__voucher_date, __address, __line_items, __total_price, __tax_conditions, __title, __introduction, __remark> CreditNoteBuilder<((), __voucher_date, __address, __line_items, __total_price, __tax_conditions, __title, __introduction, __remark)>[src]

pub fn language(
    self,
    language: String
) -> CreditNoteBuilder<((Option<String>,), __voucher_date, __address, __line_items, __total_price, __tax_conditions, __title, __introduction, __remark)>
[src]

impl<__language, __address, __line_items, __total_price, __tax_conditions, __title, __introduction, __remark> CreditNoteBuilder<(__language, (), __address, __line_items, __total_price, __tax_conditions, __title, __introduction, __remark)>[src]

pub fn voucher_date(
    self,
    voucher_date: impl Into<DateTime>
) -> CreditNoteBuilder<(__language, (DateTime,), __address, __line_items, __total_price, __tax_conditions, __title, __introduction, __remark)>
[src]

impl<__language, __voucher_date, __line_items, __total_price, __tax_conditions, __title, __introduction, __remark> CreditNoteBuilder<(__language, __voucher_date, (), __line_items, __total_price, __tax_conditions, __title, __introduction, __remark)>[src]

pub fn address(
    self,
    address: impl Into<Address>
) -> CreditNoteBuilder<(__language, __voucher_date, (Address,), __line_items, __total_price, __tax_conditions, __title, __introduction, __remark)>
[src]

impl<__language, __voucher_date, __address, __total_price, __tax_conditions, __title, __introduction, __remark> CreditNoteBuilder<(__language, __voucher_date, __address, (), __total_price, __tax_conditions, __title, __introduction, __remark)>[src]

pub fn line_items(
    self,
    line_items: impl Into<Vec<LineItems>>
) -> CreditNoteBuilder<(__language, __voucher_date, __address, (Vec<LineItems>,), __total_price, __tax_conditions, __title, __introduction, __remark)>
[src]

impl<__language, __voucher_date, __address, __line_items, __tax_conditions, __title, __introduction, __remark> CreditNoteBuilder<(__language, __voucher_date, __address, __line_items, (), __tax_conditions, __title, __introduction, __remark)>[src]

pub fn total_price(
    self,
    total_price: impl Into<TotalPrice>
) -> CreditNoteBuilder<(__language, __voucher_date, __address, __line_items, (TotalPrice,), __tax_conditions, __title, __introduction, __remark)>
[src]

impl<__language, __voucher_date, __address, __line_items, __total_price, __title, __introduction, __remark> CreditNoteBuilder<(__language, __voucher_date, __address, __line_items, __total_price, (), __title, __introduction, __remark)>[src]

pub fn tax_conditions(
    self,
    tax_conditions: impl Into<TaxConditions>
) -> CreditNoteBuilder<(__language, __voucher_date, __address, __line_items, __total_price, (TaxConditions,), __title, __introduction, __remark)>
[src]

impl<__language, __voucher_date, __address, __line_items, __total_price, __tax_conditions, __introduction, __remark> CreditNoteBuilder<(__language, __voucher_date, __address, __line_items, __total_price, __tax_conditions, (), __introduction, __remark)>[src]

pub fn title(
    self,
    title: String
) -> CreditNoteBuilder<(__language, __voucher_date, __address, __line_items, __total_price, __tax_conditions, (Option<String>,), __introduction, __remark)>
[src]

impl<__language, __voucher_date, __address, __line_items, __total_price, __tax_conditions, __title, __remark> CreditNoteBuilder<(__language, __voucher_date, __address, __line_items, __total_price, __tax_conditions, __title, (), __remark)>[src]

pub fn introduction(
    self,
    introduction: String
) -> CreditNoteBuilder<(__language, __voucher_date, __address, __line_items, __total_price, __tax_conditions, __title, (Option<String>,), __remark)>
[src]

impl<__language, __voucher_date, __address, __line_items, __total_price, __tax_conditions, __title, __introduction> CreditNoteBuilder<(__language, __voucher_date, __address, __line_items, __total_price, __tax_conditions, __title, __introduction, ())>[src]

pub fn remark(
    self,
    remark: String
) -> CreditNoteBuilder<(__language, __voucher_date, __address, __line_items, __total_price, __tax_conditions, __title, __introduction, (Option<String>,))>
[src]

impl<__language: CreditNoteBuilder_Optional<Option<String>>, __title: CreditNoteBuilder_Optional<Option<String>>, __introduction: CreditNoteBuilder_Optional<Option<String>>, __remark: CreditNoteBuilder_Optional<Option<String>>> CreditNoteBuilder<(__language, (DateTime,), (Address,), (Vec<LineItems>,), (TotalPrice,), (TaxConditions,), __title, __introduction, __remark)>[src]

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

Finalise the builder and create its CreditNote instance

Trait Implementations

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

Auto Trait Implementations

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

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

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

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

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