Struct stripe::InvoiceMandateOptionsCard
source · 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 copy 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 Default for InvoiceMandateOptionsCard
impl Default for InvoiceMandateOptionsCard
source§fn default() -> InvoiceMandateOptionsCard
fn default() -> InvoiceMandateOptionsCard
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for InvoiceMandateOptionsCard
impl<'de> Deserialize<'de> for InvoiceMandateOptionsCard
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
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