#[non_exhaustive]pub enum MandateOptionsUpiAmountType {
Fixed,
Maximum,
Unknown(String),
}Expand description
One of fixed or maximum.
If fixed, the amount param refers to the exact amount to be charged in future payments.
If maximum, the amount charged can be up to the value passed for the amount param.
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 MandateOptionsUpiAmountType
impl Clone for MandateOptionsUpiAmountType
Source§fn clone(&self) -> MandateOptionsUpiAmountType
fn clone(&self) -> MandateOptionsUpiAmountType
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 MandateOptionsUpiAmountType
Available on non-crate feature redact-generated-debug only.
impl Debug for MandateOptionsUpiAmountType
Available on non-crate feature
redact-generated-debug only.Source§impl FromValueOpt for MandateOptionsUpiAmountType
impl FromValueOpt for MandateOptionsUpiAmountType
fn from_value(v: Value) -> Option<Self>
Source§impl PartialEq for MandateOptionsUpiAmountType
impl PartialEq for MandateOptionsUpiAmountType
Source§fn eq(&self, other: &MandateOptionsUpiAmountType) -> bool
fn eq(&self, other: &MandateOptionsUpiAmountType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for MandateOptionsUpiAmountType
impl StructuralPartialEq for MandateOptionsUpiAmountType
Auto Trait Implementations§
impl Freeze for MandateOptionsUpiAmountType
impl RefUnwindSafe for MandateOptionsUpiAmountType
impl Send for MandateOptionsUpiAmountType
impl Sync for MandateOptionsUpiAmountType
impl Unpin for MandateOptionsUpiAmountType
impl UnsafeUnpin for MandateOptionsUpiAmountType
impl UnwindSafe for MandateOptionsUpiAmountType
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