#[non_exhaustive]pub enum InvoiceMandateOptionsPaytoAmountType {
Fixed,
Maximum,
Unknown(String),
}Expand description
Only maximum is supported.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Fixed
Maximum
Unknown(String)
An unrecognized value from Stripe. Should not be used as a request parameter.
Implementations§
Trait Implementations§
Source§impl Clone for InvoiceMandateOptionsPaytoAmountType
impl Clone for InvoiceMandateOptionsPaytoAmountType
Source§fn clone(&self) -> InvoiceMandateOptionsPaytoAmountType
fn clone(&self) -> InvoiceMandateOptionsPaytoAmountType
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 InvoiceMandateOptionsPaytoAmountType
impl FromValueOpt for InvoiceMandateOptionsPaytoAmountType
fn from_value(v: Value) -> Option<Self>
Source§impl PartialEq for InvoiceMandateOptionsPaytoAmountType
impl PartialEq for InvoiceMandateOptionsPaytoAmountType
Source§fn eq(&self, other: &InvoiceMandateOptionsPaytoAmountType) -> bool
fn eq(&self, other: &InvoiceMandateOptionsPaytoAmountType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for InvoiceMandateOptionsPaytoAmountType
impl StructuralPartialEq for InvoiceMandateOptionsPaytoAmountType
Auto Trait Implementations§
impl Freeze for InvoiceMandateOptionsPaytoAmountType
impl RefUnwindSafe for InvoiceMandateOptionsPaytoAmountType
impl Send for InvoiceMandateOptionsPaytoAmountType
impl Sync for InvoiceMandateOptionsPaytoAmountType
impl Unpin for InvoiceMandateOptionsPaytoAmountType
impl UnwindSafe for InvoiceMandateOptionsPaytoAmountType
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