Enum stripe::InvoiceItemTaxBehavior
source · pub enum InvoiceItemTaxBehavior {
Exclusive,
Inclusive,
Unspecified,
}
Expand description
An enum representing the possible values of an CreateInvoiceItem
’s tax_behavior
field.
Variants§
Implementations§
Trait Implementations§
source§impl AsRef<str> for InvoiceItemTaxBehavior
impl AsRef<str> for InvoiceItemTaxBehavior
source§impl Clone for InvoiceItemTaxBehavior
impl Clone for InvoiceItemTaxBehavior
source§fn clone(&self) -> InvoiceItemTaxBehavior
fn clone(&self) -> InvoiceItemTaxBehavior
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 Debug for InvoiceItemTaxBehavior
impl Debug for InvoiceItemTaxBehavior
source§impl Default for InvoiceItemTaxBehavior
impl Default for InvoiceItemTaxBehavior
source§impl<'de> Deserialize<'de> for InvoiceItemTaxBehavior
impl<'de> Deserialize<'de> for InvoiceItemTaxBehavior
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
source§impl Display for InvoiceItemTaxBehavior
impl Display for InvoiceItemTaxBehavior
source§impl PartialEq<InvoiceItemTaxBehavior> for InvoiceItemTaxBehavior
impl PartialEq<InvoiceItemTaxBehavior> for InvoiceItemTaxBehavior
source§fn eq(&self, other: &InvoiceItemTaxBehavior) -> bool
fn eq(&self, other: &InvoiceItemTaxBehavior) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for InvoiceItemTaxBehavior
impl Serialize for InvoiceItemTaxBehavior
impl Copy for InvoiceItemTaxBehavior
impl Eq for InvoiceItemTaxBehavior
impl StructuralEq for InvoiceItemTaxBehavior
impl StructuralPartialEq for InvoiceItemTaxBehavior
Auto Trait Implementations§
impl RefUnwindSafe for InvoiceItemTaxBehavior
impl Send for InvoiceItemTaxBehavior
impl Sync for InvoiceItemTaxBehavior
impl Unpin for InvoiceItemTaxBehavior
impl UnwindSafe for InvoiceItemTaxBehavior
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.