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 moreimpl Eq for PaymentMethodOptionsCardInstallments
Source§impl FromValueOpt for PaymentMethodOptionsCardInstallments
impl FromValueOpt for PaymentMethodOptionsCardInstallments
fn from_value(v: Value) -> Option<Self>
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