pub struct PaymentMethodOptionsCardInstallments {
pub available_plans: Option<Vec<PaymentMethodDetailsCardInstallmentsPlan>>,
pub enabled: bool,
pub plan: Option<PaymentMethodDetailsCardInstallmentsPlan>,
}Fields§
§available_plans: Option<Vec<PaymentMethodDetailsCardInstallmentsPlan>>Installment plans that may be selected for this PaymentIntent.
enabled: boolWhether Installments are enabled for this PaymentIntent.
plan: Option<PaymentMethodDetailsCardInstallmentsPlan>Installment plan selected for this PaymentIntent.
Trait Implementations§
Source§impl Clone for PaymentMethodOptionsCardInstallments
impl Clone for PaymentMethodOptionsCardInstallments
Source§fn clone(&self) -> PaymentMethodOptionsCardInstallments
fn clone(&self) -> PaymentMethodOptionsCardInstallments
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 FromValueOpt for PaymentMethodOptionsCardInstallments
impl FromValueOpt for PaymentMethodOptionsCardInstallments
fn from_value(v: Value) -> Option<Self>
Source§impl PartialEq for PaymentMethodOptionsCardInstallments
impl PartialEq for PaymentMethodOptionsCardInstallments
Source§fn eq(&self, other: &PaymentMethodOptionsCardInstallments) -> bool
fn eq(&self, other: &PaymentMethodOptionsCardInstallments) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for PaymentMethodOptionsCardInstallments
impl StructuralPartialEq for PaymentMethodOptionsCardInstallments
Auto Trait Implementations§
impl Freeze for PaymentMethodOptionsCardInstallments
impl RefUnwindSafe for PaymentMethodOptionsCardInstallments
impl Send for PaymentMethodOptionsCardInstallments
impl Sync for PaymentMethodOptionsCardInstallments
impl Unpin for PaymentMethodOptionsCardInstallments
impl UnsafeUnpin for PaymentMethodOptionsCardInstallments
impl UnwindSafe for PaymentMethodOptionsCardInstallments
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