pub enum BitwardenDiscountType {
AmountOff,
PercentOff,
__Unknown(i64),
}Expand description
BitwardenDiscountType : The type of discounts Bitwarden supports. The type of discounts Bitwarden supports.
Variants§
AmountOff
PercentOff
__Unknown(i64)
Unknown value returned from the server. This is used to handle forward compatibility.
Implementations§
Trait Implementations§
Source§impl Clone for BitwardenDiscountType
impl Clone for BitwardenDiscountType
Source§fn clone(&self) -> BitwardenDiscountType
fn clone(&self) -> BitwardenDiscountType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BitwardenDiscountType
Source§impl Debug for BitwardenDiscountType
impl Debug for BitwardenDiscountType
Source§impl Default for BitwardenDiscountType
impl Default for BitwardenDiscountType
Source§fn default() -> BitwardenDiscountType
fn default() -> BitwardenDiscountType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BitwardenDiscountType
impl<'de> Deserialize<'de> for BitwardenDiscountType
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for BitwardenDiscountType
impl Display for BitwardenDiscountType
impl Eq for BitwardenDiscountType
Source§impl Hash for BitwardenDiscountType
impl Hash for BitwardenDiscountType
Source§impl Ord for BitwardenDiscountType
impl Ord for BitwardenDiscountType
Source§fn cmp(&self, other: &BitwardenDiscountType) -> Ordering
fn cmp(&self, other: &BitwardenDiscountType) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for BitwardenDiscountType
impl PartialEq for BitwardenDiscountType
Source§impl PartialOrd for BitwardenDiscountType
impl PartialOrd for BitwardenDiscountType
Source§impl Serialize for BitwardenDiscountType
impl Serialize for BitwardenDiscountType
impl StructuralPartialEq for BitwardenDiscountType
Auto Trait Implementations§
impl Freeze for BitwardenDiscountType
impl RefUnwindSafe for BitwardenDiscountType
impl Send for BitwardenDiscountType
impl Sync for BitwardenDiscountType
impl Unpin for BitwardenDiscountType
impl UnsafeUnpin for BitwardenDiscountType
impl UnwindSafe for BitwardenDiscountType
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<T> CompatExt for T
impl<T> CompatExt for T
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
§fn new_handle(value: Arc<T>) -> Handle
fn new_handle(value: Arc<T>) -> Handle
Create a new handle for an Arc value Read more
§unsafe fn clone_handle(handle: Handle) -> Handle
unsafe fn clone_handle(handle: Handle) -> Handle
Clone a handle Read more
§unsafe fn consume_handle(handle: Handle) -> Arc<T> ⓘ
unsafe fn consume_handle(handle: Handle) -> Arc<T> ⓘ
Consume a handle, getting back the initial
Arc<> Read more