pub struct InvoiceMandateOptionsCard {
pub amount: Option<i64>,
pub amount_type: Option<InvoiceMandateOptionsCardAmountType>,
pub description: Option<String>,
}
Fields§
§amount: Option<i64>
Amount to be charged for future payments.
amount_type: Option<InvoiceMandateOptionsCardAmountType>
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.
description: Option<String>
A description of the mandate or subscription that is meant to be displayed to the customer.
Trait Implementations§
Source§impl Clone for InvoiceMandateOptionsCard
impl Clone for InvoiceMandateOptionsCard
Source§fn clone(&self) -> InvoiceMandateOptionsCard
fn clone(&self) -> InvoiceMandateOptionsCard
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 Debug for InvoiceMandateOptionsCard
impl Debug for InvoiceMandateOptionsCard
Source§impl FromValueOpt for InvoiceMandateOptionsCard
impl FromValueOpt for InvoiceMandateOptionsCard
fn from_value(v: Value) -> Option<Self>
Auto Trait Implementations§
impl Freeze for InvoiceMandateOptionsCard
impl RefUnwindSafe for InvoiceMandateOptionsCard
impl Send for InvoiceMandateOptionsCard
impl Sync for InvoiceMandateOptionsCard
impl Unpin for InvoiceMandateOptionsCard
impl UnwindSafe for InvoiceMandateOptionsCard
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