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