#[non_exhaustive]pub enum MandatePixAmountType {
Fixed,
Maximum,
Unknown(String),
}Expand description
Type of amount.
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.
Fixed
Maximum
Unknown(String)
An unrecognized value from Stripe. Should not be used as a request parameter.
Implementations§
Trait Implementations§
Source§impl Clone for MandatePixAmountType
impl Clone for MandatePixAmountType
Source§fn clone(&self) -> MandatePixAmountType
fn clone(&self) -> MandatePixAmountType
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 MandatePixAmountType
Available on non-crate feature redact-generated-debug only.
impl Debug for MandatePixAmountType
Available on non-crate feature
redact-generated-debug only.Source§impl Deserialize for MandatePixAmountType
impl Deserialize for MandatePixAmountType
Source§impl Display for MandatePixAmountType
impl Display for MandatePixAmountType
Source§impl FromStr for MandatePixAmountType
impl FromStr for MandatePixAmountType
Source§impl FromValueOpt for MandatePixAmountType
impl FromValueOpt for MandatePixAmountType
fn from_value(v: Value) -> Option<Self>
Source§impl PartialEq for MandatePixAmountType
impl PartialEq for MandatePixAmountType
Source§fn eq(&self, other: &MandatePixAmountType) -> bool
fn eq(&self, other: &MandatePixAmountType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for MandatePixAmountType
impl StructuralPartialEq for MandatePixAmountType
Auto Trait Implementations§
impl Freeze for MandatePixAmountType
impl RefUnwindSafe for MandatePixAmountType
impl Send for MandatePixAmountType
impl Sync for MandatePixAmountType
impl Unpin for MandatePixAmountType
impl UnsafeUnpin for MandatePixAmountType
impl UnwindSafe for MandatePixAmountType
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