pub struct CustomerInvoiceSettingsRenderingOptions {
pub amount_tax_display: Option<CustomerInvoiceSettingsRenderingOptionsAmountTaxDisplay>,
}
Fields§
§amount_tax_display: Option<CustomerInvoiceSettingsRenderingOptionsAmountTaxDisplay>
How line-item prices and amounts will be displayed with respect to tax on invoice PDFs.
One of exclude_tax
or include_inclusive_tax
.
include_inclusive_tax
will include inclusive tax (and exclude exclusive tax) in invoice PDF amounts.
exclude_tax
will exclude all tax (inclusive and exclusive alike) from invoice PDF amounts.
Trait Implementations§
source§impl Clone for CustomerInvoiceSettingsRenderingOptions
impl Clone for CustomerInvoiceSettingsRenderingOptions
source§fn clone(&self) -> CustomerInvoiceSettingsRenderingOptions
fn clone(&self) -> CustomerInvoiceSettingsRenderingOptions
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for CustomerInvoiceSettingsRenderingOptions
impl Default for CustomerInvoiceSettingsRenderingOptions
source§fn default() -> CustomerInvoiceSettingsRenderingOptions
fn default() -> CustomerInvoiceSettingsRenderingOptions
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CustomerInvoiceSettingsRenderingOptions
impl<'de> Deserialize<'de> for CustomerInvoiceSettingsRenderingOptions
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CustomerInvoiceSettingsRenderingOptions
impl RefUnwindSafe for CustomerInvoiceSettingsRenderingOptions
impl Send for CustomerInvoiceSettingsRenderingOptions
impl Sync for CustomerInvoiceSettingsRenderingOptions
impl Unpin for CustomerInvoiceSettingsRenderingOptions
impl UnwindSafe for CustomerInvoiceSettingsRenderingOptions
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more