Struct lexoffice::model::vouchers::VoucherBuilder [−][src]
Builder for Voucher
instances.
See Voucher::builder()
for more info.
Implementations
impl<___type, __voucher_number, __voucher_date, __shipping_date, __due_date, __total_gross_amount, __total_tax_amount, __tax_type, __use_collective_contact, __contact_id, __remark, __voucher_items, __files> VoucherBuilder<((), ___type, __voucher_number, __voucher_date, __shipping_date, __due_date, __total_gross_amount, __total_tax_amount, __tax_type, __use_collective_contact, __contact_id, __remark, __voucher_items, __files)>
[src]
pub fn organization_id(
self,
organization_id: Uuid
) -> VoucherBuilder<((Option<Uuid>,), ___type, __voucher_number, __voucher_date, __shipping_date, __due_date, __total_gross_amount, __total_tax_amount, __tax_type, __use_collective_contact, __contact_id, __remark, __voucher_items, __files)>
[src]
self,
organization_id: Uuid
) -> VoucherBuilder<((Option<Uuid>,), ___type, __voucher_number, __voucher_date, __shipping_date, __due_date, __total_gross_amount, __total_tax_amount, __tax_type, __use_collective_contact, __contact_id, __remark, __voucher_items, __files)>
impl<__organization_id, __voucher_number, __voucher_date, __shipping_date, __due_date, __total_gross_amount, __total_tax_amount, __tax_type, __use_collective_contact, __contact_id, __remark, __voucher_items, __files> VoucherBuilder<(__organization_id, (), __voucher_number, __voucher_date, __shipping_date, __due_date, __total_gross_amount, __total_tax_amount, __tax_type, __use_collective_contact, __contact_id, __remark, __voucher_items, __files)>
[src]
pub fn _type(
self,
_type: impl Into<Type>
) -> VoucherBuilder<(__organization_id, (Type,), __voucher_number, __voucher_date, __shipping_date, __due_date, __total_gross_amount, __total_tax_amount, __tax_type, __use_collective_contact, __contact_id, __remark, __voucher_items, __files)>
[src]
self,
_type: impl Into<Type>
) -> VoucherBuilder<(__organization_id, (Type,), __voucher_number, __voucher_date, __shipping_date, __due_date, __total_gross_amount, __total_tax_amount, __tax_type, __use_collective_contact, __contact_id, __remark, __voucher_items, __files)>
impl<__organization_id, ___type, __voucher_date, __shipping_date, __due_date, __total_gross_amount, __total_tax_amount, __tax_type, __use_collective_contact, __contact_id, __remark, __voucher_items, __files> VoucherBuilder<(__organization_id, ___type, (), __voucher_date, __shipping_date, __due_date, __total_gross_amount, __total_tax_amount, __tax_type, __use_collective_contact, __contact_id, __remark, __voucher_items, __files)>
[src]
pub fn voucher_number(
self,
voucher_number: impl Into<String>
) -> VoucherBuilder<(__organization_id, ___type, (String,), __voucher_date, __shipping_date, __due_date, __total_gross_amount, __total_tax_amount, __tax_type, __use_collective_contact, __contact_id, __remark, __voucher_items, __files)>
[src]
self,
voucher_number: impl Into<String>
) -> VoucherBuilder<(__organization_id, ___type, (String,), __voucher_date, __shipping_date, __due_date, __total_gross_amount, __total_tax_amount, __tax_type, __use_collective_contact, __contact_id, __remark, __voucher_items, __files)>
impl<__organization_id, ___type, __voucher_number, __shipping_date, __due_date, __total_gross_amount, __total_tax_amount, __tax_type, __use_collective_contact, __contact_id, __remark, __voucher_items, __files> VoucherBuilder<(__organization_id, ___type, __voucher_number, (), __shipping_date, __due_date, __total_gross_amount, __total_tax_amount, __tax_type, __use_collective_contact, __contact_id, __remark, __voucher_items, __files)>
[src]
pub fn voucher_date(
self,
voucher_date: impl Into<Date>
) -> VoucherBuilder<(__organization_id, ___type, __voucher_number, (Date,), __shipping_date, __due_date, __total_gross_amount, __total_tax_amount, __tax_type, __use_collective_contact, __contact_id, __remark, __voucher_items, __files)>
[src]
self,
voucher_date: impl Into<Date>
) -> VoucherBuilder<(__organization_id, ___type, __voucher_number, (Date,), __shipping_date, __due_date, __total_gross_amount, __total_tax_amount, __tax_type, __use_collective_contact, __contact_id, __remark, __voucher_items, __files)>
impl<__organization_id, ___type, __voucher_number, __voucher_date, __due_date, __total_gross_amount, __total_tax_amount, __tax_type, __use_collective_contact, __contact_id, __remark, __voucher_items, __files> VoucherBuilder<(__organization_id, ___type, __voucher_number, __voucher_date, (), __due_date, __total_gross_amount, __total_tax_amount, __tax_type, __use_collective_contact, __contact_id, __remark, __voucher_items, __files)>
[src]
pub fn shipping_date(
self,
shipping_date: Date
) -> VoucherBuilder<(__organization_id, ___type, __voucher_number, __voucher_date, (Option<Date>,), __due_date, __total_gross_amount, __total_tax_amount, __tax_type, __use_collective_contact, __contact_id, __remark, __voucher_items, __files)>
[src]
self,
shipping_date: Date
) -> VoucherBuilder<(__organization_id, ___type, __voucher_number, __voucher_date, (Option<Date>,), __due_date, __total_gross_amount, __total_tax_amount, __tax_type, __use_collective_contact, __contact_id, __remark, __voucher_items, __files)>
impl<__organization_id, ___type, __voucher_number, __voucher_date, __shipping_date, __total_gross_amount, __total_tax_amount, __tax_type, __use_collective_contact, __contact_id, __remark, __voucher_items, __files> VoucherBuilder<(__organization_id, ___type, __voucher_number, __voucher_date, __shipping_date, (), __total_gross_amount, __total_tax_amount, __tax_type, __use_collective_contact, __contact_id, __remark, __voucher_items, __files)>
[src]
pub fn due_date(
self,
due_date: Date
) -> VoucherBuilder<(__organization_id, ___type, __voucher_number, __voucher_date, __shipping_date, (Option<Date>,), __total_gross_amount, __total_tax_amount, __tax_type, __use_collective_contact, __contact_id, __remark, __voucher_items, __files)>
[src]
self,
due_date: Date
) -> VoucherBuilder<(__organization_id, ___type, __voucher_number, __voucher_date, __shipping_date, (Option<Date>,), __total_gross_amount, __total_tax_amount, __tax_type, __use_collective_contact, __contact_id, __remark, __voucher_items, __files)>
impl<__organization_id, ___type, __voucher_number, __voucher_date, __shipping_date, __due_date, __total_tax_amount, __tax_type, __use_collective_contact, __contact_id, __remark, __voucher_items, __files> VoucherBuilder<(__organization_id, ___type, __voucher_number, __voucher_date, __shipping_date, __due_date, (), __total_tax_amount, __tax_type, __use_collective_contact, __contact_id, __remark, __voucher_items, __files)>
[src]
pub fn total_gross_amount(
self,
total_gross_amount: impl Into<f64>
) -> VoucherBuilder<(__organization_id, ___type, __voucher_number, __voucher_date, __shipping_date, __due_date, (f64,), __total_tax_amount, __tax_type, __use_collective_contact, __contact_id, __remark, __voucher_items, __files)>
[src]
self,
total_gross_amount: impl Into<f64>
) -> VoucherBuilder<(__organization_id, ___type, __voucher_number, __voucher_date, __shipping_date, __due_date, (f64,), __total_tax_amount, __tax_type, __use_collective_contact, __contact_id, __remark, __voucher_items, __files)>
impl<__organization_id, ___type, __voucher_number, __voucher_date, __shipping_date, __due_date, __total_gross_amount, __tax_type, __use_collective_contact, __contact_id, __remark, __voucher_items, __files> VoucherBuilder<(__organization_id, ___type, __voucher_number, __voucher_date, __shipping_date, __due_date, __total_gross_amount, (), __tax_type, __use_collective_contact, __contact_id, __remark, __voucher_items, __files)>
[src]
pub fn total_tax_amount(
self,
total_tax_amount: impl Into<f64>
) -> VoucherBuilder<(__organization_id, ___type, __voucher_number, __voucher_date, __shipping_date, __due_date, __total_gross_amount, (f64,), __tax_type, __use_collective_contact, __contact_id, __remark, __voucher_items, __files)>
[src]
self,
total_tax_amount: impl Into<f64>
) -> VoucherBuilder<(__organization_id, ___type, __voucher_number, __voucher_date, __shipping_date, __due_date, __total_gross_amount, (f64,), __tax_type, __use_collective_contact, __contact_id, __remark, __voucher_items, __files)>
impl<__organization_id, ___type, __voucher_number, __voucher_date, __shipping_date, __due_date, __total_gross_amount, __total_tax_amount, __use_collective_contact, __contact_id, __remark, __voucher_items, __files> VoucherBuilder<(__organization_id, ___type, __voucher_number, __voucher_date, __shipping_date, __due_date, __total_gross_amount, __total_tax_amount, (), __use_collective_contact, __contact_id, __remark, __voucher_items, __files)>
[src]
pub fn tax_type(
self,
tax_type: impl Into<TaxType>
) -> VoucherBuilder<(__organization_id, ___type, __voucher_number, __voucher_date, __shipping_date, __due_date, __total_gross_amount, __total_tax_amount, (TaxType,), __use_collective_contact, __contact_id, __remark, __voucher_items, __files)>
[src]
self,
tax_type: impl Into<TaxType>
) -> VoucherBuilder<(__organization_id, ___type, __voucher_number, __voucher_date, __shipping_date, __due_date, __total_gross_amount, __total_tax_amount, (TaxType,), __use_collective_contact, __contact_id, __remark, __voucher_items, __files)>
impl<__organization_id, ___type, __voucher_number, __voucher_date, __shipping_date, __due_date, __total_gross_amount, __total_tax_amount, __tax_type, __contact_id, __remark, __voucher_items, __files> VoucherBuilder<(__organization_id, ___type, __voucher_number, __voucher_date, __shipping_date, __due_date, __total_gross_amount, __total_tax_amount, __tax_type, (), __contact_id, __remark, __voucher_items, __files)>
[src]
pub fn use_collective_contact(
self,
use_collective_contact: bool
) -> VoucherBuilder<(__organization_id, ___type, __voucher_number, __voucher_date, __shipping_date, __due_date, __total_gross_amount, __total_tax_amount, __tax_type, (Option<bool>,), __contact_id, __remark, __voucher_items, __files)>
[src]
self,
use_collective_contact: bool
) -> VoucherBuilder<(__organization_id, ___type, __voucher_number, __voucher_date, __shipping_date, __due_date, __total_gross_amount, __total_tax_amount, __tax_type, (Option<bool>,), __contact_id, __remark, __voucher_items, __files)>
impl<__organization_id, ___type, __voucher_number, __voucher_date, __shipping_date, __due_date, __total_gross_amount, __total_tax_amount, __tax_type, __use_collective_contact, __remark, __voucher_items, __files> VoucherBuilder<(__organization_id, ___type, __voucher_number, __voucher_date, __shipping_date, __due_date, __total_gross_amount, __total_tax_amount, __tax_type, __use_collective_contact, (), __remark, __voucher_items, __files)>
[src]
pub fn contact_id(
self,
contact_id: Uuid
) -> VoucherBuilder<(__organization_id, ___type, __voucher_number, __voucher_date, __shipping_date, __due_date, __total_gross_amount, __total_tax_amount, __tax_type, __use_collective_contact, (Option<Uuid>,), __remark, __voucher_items, __files)>
[src]
self,
contact_id: Uuid
) -> VoucherBuilder<(__organization_id, ___type, __voucher_number, __voucher_date, __shipping_date, __due_date, __total_gross_amount, __total_tax_amount, __tax_type, __use_collective_contact, (Option<Uuid>,), __remark, __voucher_items, __files)>
impl<__organization_id, ___type, __voucher_number, __voucher_date, __shipping_date, __due_date, __total_gross_amount, __total_tax_amount, __tax_type, __use_collective_contact, __contact_id, __voucher_items, __files> VoucherBuilder<(__organization_id, ___type, __voucher_number, __voucher_date, __shipping_date, __due_date, __total_gross_amount, __total_tax_amount, __tax_type, __use_collective_contact, __contact_id, (), __voucher_items, __files)>
[src]
pub fn remark(
self,
remark: String
) -> VoucherBuilder<(__organization_id, ___type, __voucher_number, __voucher_date, __shipping_date, __due_date, __total_gross_amount, __total_tax_amount, __tax_type, __use_collective_contact, __contact_id, (Option<String>,), __voucher_items, __files)>
[src]
self,
remark: String
) -> VoucherBuilder<(__organization_id, ___type, __voucher_number, __voucher_date, __shipping_date, __due_date, __total_gross_amount, __total_tax_amount, __tax_type, __use_collective_contact, __contact_id, (Option<String>,), __voucher_items, __files)>
impl<__organization_id, ___type, __voucher_number, __voucher_date, __shipping_date, __due_date, __total_gross_amount, __total_tax_amount, __tax_type, __use_collective_contact, __contact_id, __remark, __files> VoucherBuilder<(__organization_id, ___type, __voucher_number, __voucher_date, __shipping_date, __due_date, __total_gross_amount, __total_tax_amount, __tax_type, __use_collective_contact, __contact_id, __remark, (), __files)>
[src]
pub fn voucher_items(
self,
voucher_items: impl Into<Vec<VoucherItems>>
) -> VoucherBuilder<(__organization_id, ___type, __voucher_number, __voucher_date, __shipping_date, __due_date, __total_gross_amount, __total_tax_amount, __tax_type, __use_collective_contact, __contact_id, __remark, (Vec<VoucherItems>,), __files)>
[src]
self,
voucher_items: impl Into<Vec<VoucherItems>>
) -> VoucherBuilder<(__organization_id, ___type, __voucher_number, __voucher_date, __shipping_date, __due_date, __total_gross_amount, __total_tax_amount, __tax_type, __use_collective_contact, __contact_id, __remark, (Vec<VoucherItems>,), __files)>
impl<__organization_id, ___type, __voucher_number, __voucher_date, __shipping_date, __due_date, __total_gross_amount, __total_tax_amount, __tax_type, __use_collective_contact, __contact_id, __remark, __voucher_items> VoucherBuilder<(__organization_id, ___type, __voucher_number, __voucher_date, __shipping_date, __due_date, __total_gross_amount, __total_tax_amount, __tax_type, __use_collective_contact, __contact_id, __remark, __voucher_items, ())>
[src]
pub fn files(
self,
files: Vec<Uuid>
) -> VoucherBuilder<(__organization_id, ___type, __voucher_number, __voucher_date, __shipping_date, __due_date, __total_gross_amount, __total_tax_amount, __tax_type, __use_collective_contact, __contact_id, __remark, __voucher_items, (Option<Vec<Uuid>>,))>
[src]
self,
files: Vec<Uuid>
) -> VoucherBuilder<(__organization_id, ___type, __voucher_number, __voucher_date, __shipping_date, __due_date, __total_gross_amount, __total_tax_amount, __tax_type, __use_collective_contact, __contact_id, __remark, __voucher_items, (Option<Vec<Uuid>>,))>
impl<__organization_id: VoucherBuilder_Optional<Option<Uuid>>, __shipping_date: VoucherBuilder_Optional<Option<Date>>, __due_date: VoucherBuilder_Optional<Option<Date>>, __use_collective_contact: VoucherBuilder_Optional<Option<bool>>, __contact_id: VoucherBuilder_Optional<Option<Uuid>>, __remark: VoucherBuilder_Optional<Option<String>>, __files: VoucherBuilder_Optional<Option<Vec<Uuid>>>> VoucherBuilder<(__organization_id, (Type,), (String,), (Date,), __shipping_date, __due_date, (f64,), (f64,), (TaxType,), __use_collective_contact, __contact_id, __remark, (Vec<VoucherItems>,), __files)>
[src]
Trait Implementations
impl<TypedBuilderFields> Clone for VoucherBuilder<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 VoucherBuilder<TypedBuilderFields> where
TypedBuilderFields: RefUnwindSafe,
TypedBuilderFields: RefUnwindSafe,
impl<TypedBuilderFields> Send for VoucherBuilder<TypedBuilderFields> where
TypedBuilderFields: Send,
TypedBuilderFields: Send,
impl<TypedBuilderFields> Sync for VoucherBuilder<TypedBuilderFields> where
TypedBuilderFields: Sync,
TypedBuilderFields: Sync,
impl<TypedBuilderFields> Unpin for VoucherBuilder<TypedBuilderFields> where
TypedBuilderFields: Unpin,
TypedBuilderFields: Unpin,
impl<TypedBuilderFields> UnwindSafe for VoucherBuilder<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>,