pub enum CreatePreviewInvoiceInvoiceItemsTaxBehavior {
Exclusive,
Inclusive,
Unspecified,
}
Expand description
Only required if a default tax behavior was not provided in the Stripe Tax settings.
Specifies whether the price is considered inclusive of taxes or exclusive of taxes.
One of inclusive
, exclusive
, or unspecified
.
Once specified as either inclusive
or exclusive
, it cannot be changed.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for CreatePreviewInvoiceInvoiceItemsTaxBehavior
impl Clone for CreatePreviewInvoiceInvoiceItemsTaxBehavior
Source§fn clone(&self) -> CreatePreviewInvoiceInvoiceItemsTaxBehavior
fn clone(&self) -> CreatePreviewInvoiceInvoiceItemsTaxBehavior
Returns a duplicate 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 PartialEq for CreatePreviewInvoiceInvoiceItemsTaxBehavior
impl PartialEq for CreatePreviewInvoiceInvoiceItemsTaxBehavior
Source§fn eq(&self, other: &CreatePreviewInvoiceInvoiceItemsTaxBehavior) -> bool
fn eq(&self, other: &CreatePreviewInvoiceInvoiceItemsTaxBehavior) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for CreatePreviewInvoiceInvoiceItemsTaxBehavior
impl Eq for CreatePreviewInvoiceInvoiceItemsTaxBehavior
impl StructuralPartialEq for CreatePreviewInvoiceInvoiceItemsTaxBehavior
Auto Trait Implementations§
impl Freeze for CreatePreviewInvoiceInvoiceItemsTaxBehavior
impl RefUnwindSafe for CreatePreviewInvoiceInvoiceItemsTaxBehavior
impl Send for CreatePreviewInvoiceInvoiceItemsTaxBehavior
impl Sync for CreatePreviewInvoiceInvoiceItemsTaxBehavior
impl Unpin for CreatePreviewInvoiceInvoiceItemsTaxBehavior
impl UnwindSafe for CreatePreviewInvoiceInvoiceItemsTaxBehavior
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