pub enum SetupIntentPaymentMethodOptionsCardMandateOptionsAmountType {
Fixed,
Maximum,
}
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§
Implementations§
Trait Implementations§
Source§impl Clone for SetupIntentPaymentMethodOptionsCardMandateOptionsAmountType
impl Clone for SetupIntentPaymentMethodOptionsCardMandateOptionsAmountType
Source§fn clone(&self) -> SetupIntentPaymentMethodOptionsCardMandateOptionsAmountType
fn clone(&self) -> SetupIntentPaymentMethodOptionsCardMandateOptionsAmountType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl FromValueOpt for SetupIntentPaymentMethodOptionsCardMandateOptionsAmountType
impl FromValueOpt for SetupIntentPaymentMethodOptionsCardMandateOptionsAmountType
fn from_value(v: Value) -> Option<Self>
Source§impl PartialEq for SetupIntentPaymentMethodOptionsCardMandateOptionsAmountType
impl PartialEq for SetupIntentPaymentMethodOptionsCardMandateOptionsAmountType
Source§fn eq(
&self,
other: &SetupIntentPaymentMethodOptionsCardMandateOptionsAmountType,
) -> bool
fn eq( &self, other: &SetupIntentPaymentMethodOptionsCardMandateOptionsAmountType, ) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for SetupIntentPaymentMethodOptionsCardMandateOptionsAmountType
impl Eq for SetupIntentPaymentMethodOptionsCardMandateOptionsAmountType
impl StructuralPartialEq for SetupIntentPaymentMethodOptionsCardMandateOptionsAmountType
Auto Trait Implementations§
impl Freeze for SetupIntentPaymentMethodOptionsCardMandateOptionsAmountType
impl RefUnwindSafe for SetupIntentPaymentMethodOptionsCardMandateOptionsAmountType
impl Send for SetupIntentPaymentMethodOptionsCardMandateOptionsAmountType
impl Sync for SetupIntentPaymentMethodOptionsCardMandateOptionsAmountType
impl Unpin for SetupIntentPaymentMethodOptionsCardMandateOptionsAmountType
impl UnwindSafe for SetupIntentPaymentMethodOptionsCardMandateOptionsAmountType
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