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