#[non_exhaustive]pub enum MandateType {
MultiUse,
SingleUse,
Unknown(String),
}Expand description
The type of the mandate.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
MultiUse
SingleUse
Unknown(String)
An unrecognized value from Stripe. Should not be used as a request parameter.
Implementations§
Trait Implementations§
Source§impl Clone for MandateType
impl Clone for MandateType
Source§fn clone(&self) -> MandateType
fn clone(&self) -> MandateType
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 moreSource§impl Debug for MandateType
Available on non-crate feature redact-generated-debug only.
impl Debug for MandateType
Available on non-crate feature
redact-generated-debug only.Source§impl Deserialize for MandateType
impl Deserialize for MandateType
Source§impl Display for MandateType
impl Display for MandateType
Source§impl FromStr for MandateType
impl FromStr for MandateType
Source§impl FromValueOpt for MandateType
impl FromValueOpt for MandateType
fn from_value(v: Value) -> Option<Self>
Source§impl PartialEq for MandateType
impl PartialEq for MandateType
Source§fn eq(&self, other: &MandateType) -> bool
fn eq(&self, other: &MandateType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for MandateType
impl StructuralPartialEq for MandateType
Auto Trait Implementations§
impl Freeze for MandateType
impl RefUnwindSafe for MandateType
impl Send for MandateType
impl Sync for MandateType
impl Unpin for MandateType
impl UnsafeUnpin for MandateType
impl UnwindSafe for MandateType
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