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