#[non_exhaustive]pub enum PaymentMethodOptionsMandateOptionsPixAmountType {
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 PaymentMethodOptionsMandateOptionsPixAmountType
impl Clone for PaymentMethodOptionsMandateOptionsPixAmountType
Source§fn clone(&self) -> PaymentMethodOptionsMandateOptionsPixAmountType
fn clone(&self) -> PaymentMethodOptionsMandateOptionsPixAmountType
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 PaymentMethodOptionsMandateOptionsPixAmountType
Available on non-crate feature redact-generated-debug only.
impl Debug for PaymentMethodOptionsMandateOptionsPixAmountType
Available on non-crate feature
redact-generated-debug only.Source§impl FromValueOpt for PaymentMethodOptionsMandateOptionsPixAmountType
impl FromValueOpt for PaymentMethodOptionsMandateOptionsPixAmountType
fn from_value(v: Value) -> Option<Self>
Source§impl PartialEq for PaymentMethodOptionsMandateOptionsPixAmountType
impl PartialEq for PaymentMethodOptionsMandateOptionsPixAmountType
Source§fn eq(&self, other: &PaymentMethodOptionsMandateOptionsPixAmountType) -> bool
fn eq(&self, other: &PaymentMethodOptionsMandateOptionsPixAmountType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for PaymentMethodOptionsMandateOptionsPixAmountType
impl StructuralPartialEq for PaymentMethodOptionsMandateOptionsPixAmountType
Auto Trait Implementations§
impl Freeze for PaymentMethodOptionsMandateOptionsPixAmountType
impl RefUnwindSafe for PaymentMethodOptionsMandateOptionsPixAmountType
impl Send for PaymentMethodOptionsMandateOptionsPixAmountType
impl Sync for PaymentMethodOptionsMandateOptionsPixAmountType
impl Unpin for PaymentMethodOptionsMandateOptionsPixAmountType
impl UnsafeUnpin for PaymentMethodOptionsMandateOptionsPixAmountType
impl UnwindSafe for PaymentMethodOptionsMandateOptionsPixAmountType
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