Struct lexoffice::model::recurring_templates::RecurringTemplateBuilder[][src]

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

Builder for RecurringTemplate instances.

See RecurringTemplate::builder() for more info.

Implementations

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

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

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

pub fn address(
    self,
    address: Address
) -> RecurringTemplateBuilder<(__language, (Option<Address>,), __line_items, __total_price, __tax_conditions, __payment_conditions, __title, __introduction, __remark)>
[src]

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

pub fn line_items(
    self,
    line_items: Vec<LineItems>
) -> RecurringTemplateBuilder<(__language, __address, (Option<Vec<LineItems>>,), __total_price, __tax_conditions, __payment_conditions, __title, __introduction, __remark)>
[src]

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

pub fn total_price(
    self,
    total_price: TotalPrice
) -> RecurringTemplateBuilder<(__language, __address, __line_items, (Option<TotalPrice>,), __tax_conditions, __payment_conditions, __title, __introduction, __remark)>
[src]

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

pub fn tax_conditions(
    self,
    tax_conditions: TaxConditions
) -> RecurringTemplateBuilder<(__language, __address, __line_items, __total_price, (Option<TaxConditions>,), __payment_conditions, __title, __introduction, __remark)>
[src]

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

pub fn payment_conditions(
    self,
    payment_conditions: PaymentConditions
) -> RecurringTemplateBuilder<(__language, __address, __line_items, __total_price, __tax_conditions, (Option<PaymentConditions>,), __title, __introduction, __remark)>
[src]

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

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

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

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

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

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

impl<__language: RecurringTemplateBuilder_Optional<Option<String>>, __address: RecurringTemplateBuilder_Optional<Option<Address>>, __line_items: RecurringTemplateBuilder_Optional<Option<Vec<LineItems>>>, __total_price: RecurringTemplateBuilder_Optional<Option<TotalPrice>>, __tax_conditions: RecurringTemplateBuilder_Optional<Option<TaxConditions>>, __payment_conditions: RecurringTemplateBuilder_Optional<Option<PaymentConditions>>, __title: RecurringTemplateBuilder_Optional<Option<String>>, __introduction: RecurringTemplateBuilder_Optional<Option<String>>, __remark: RecurringTemplateBuilder_Optional<Option<String>>> RecurringTemplateBuilder<(__language, __address, __line_items, __total_price, __tax_conditions, __payment_conditions, __title, __introduction, __remark)>[src]

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

Finalise the builder and create its RecurringTemplate instance

Trait Implementations

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

Auto Trait Implementations

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

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

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

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

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