Struct lexoffice::model::credit_notes::CreditNoteBuilder [−][src]
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]
self,
language: String
) -> CreditNoteBuilder<((Option<String>,), __voucher_date, __address, __line_items, __total_price, __tax_conditions, __title, __introduction, __remark)>
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]
self,
voucher_date: impl Into<DateTime>
) -> CreditNoteBuilder<(__language, (DateTime,), __address, __line_items, __total_price, __tax_conditions, __title, __introduction, __remark)>
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]
self,
address: impl Into<Address>
) -> CreditNoteBuilder<(__language, __voucher_date, (Address,), __line_items, __total_price, __tax_conditions, __title, __introduction, __remark)>
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]
self,
line_items: impl Into<Vec<LineItems>>
) -> CreditNoteBuilder<(__language, __voucher_date, __address, (Vec<LineItems>,), __total_price, __tax_conditions, __title, __introduction, __remark)>
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]
self,
total_price: impl Into<TotalPrice>
) -> CreditNoteBuilder<(__language, __voucher_date, __address, __line_items, (TotalPrice,), __tax_conditions, __title, __introduction, __remark)>
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]
self,
tax_conditions: impl Into<TaxConditions>
) -> CreditNoteBuilder<(__language, __voucher_date, __address, __line_items, __total_price, (TaxConditions,), __title, __introduction, __remark)>
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]
self,
title: String
) -> CreditNoteBuilder<(__language, __voucher_date, __address, __line_items, __total_price, __tax_conditions, (Option<String>,), __introduction, __remark)>
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]
self,
introduction: String
) -> CreditNoteBuilder<(__language, __voucher_date, __address, __line_items, __total_price, __tax_conditions, __title, (Option<String>,), __remark)>
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]
self,
remark: String
) -> CreditNoteBuilder<(__language, __voucher_date, __address, __line_items, __total_price, __tax_conditions, __title, __introduction, (Option<String>,))>
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]
TypedBuilderFields: Clone,
fn clone(&self) -> Self
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
Auto Trait Implementations
impl<TypedBuilderFields> RefUnwindSafe for CreditNoteBuilder<TypedBuilderFields> where
TypedBuilderFields: RefUnwindSafe,
TypedBuilderFields: RefUnwindSafe,
impl<TypedBuilderFields> Send for CreditNoteBuilder<TypedBuilderFields> where
TypedBuilderFields: Send,
TypedBuilderFields: Send,
impl<TypedBuilderFields> Sync for CreditNoteBuilder<TypedBuilderFields> where
TypedBuilderFields: Sync,
TypedBuilderFields: Sync,
impl<TypedBuilderFields> Unpin for CreditNoteBuilder<TypedBuilderFields> where
TypedBuilderFields: Unpin,
TypedBuilderFields: Unpin,
impl<TypedBuilderFields> UnwindSafe for CreditNoteBuilder<TypedBuilderFields> where
TypedBuilderFields: UnwindSafe,
TypedBuilderFields: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,