Enum stripe::ShippingRateType
source · pub enum ShippingRateType {
FixedAmount,
}
Expand description
An enum representing the possible values of an ShippingRate
’s type
field.
Variants§
FixedAmount
Implementations§
Trait Implementations§
source§impl AsRef<str> for ShippingRateType
impl AsRef<str> for ShippingRateType
source§impl Clone for ShippingRateType
impl Clone for ShippingRateType
source§fn clone(&self) -> ShippingRateType
fn clone(&self) -> ShippingRateType
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 ShippingRateType
impl Debug for ShippingRateType
source§impl Default for ShippingRateType
impl Default for ShippingRateType
source§impl<'de> Deserialize<'de> for ShippingRateType
impl<'de> Deserialize<'de> for ShippingRateType
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 ShippingRateType
impl Display for ShippingRateType
source§impl PartialEq for ShippingRateType
impl PartialEq for ShippingRateType
source§fn eq(&self, other: &ShippingRateType) -> bool
fn eq(&self, other: &ShippingRateType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ShippingRateType
impl Serialize for ShippingRateType
impl Copy for ShippingRateType
impl Eq for ShippingRateType
impl StructuralPartialEq for ShippingRateType
Auto Trait Implementations§
impl Freeze for ShippingRateType
impl RefUnwindSafe for ShippingRateType
impl Send for ShippingRateType
impl Sync for ShippingRateType
impl Unpin for ShippingRateType
impl UnwindSafe for ShippingRateType
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.