pub enum AccountInvoicesSettingsHostedPaymentMethodSave {
Always,
Never,
Offer,
}
Expand description
Whether payment methods should be saved when a payment is completed for a one-time invoices on a hosted invoice page.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for AccountInvoicesSettingsHostedPaymentMethodSave
impl Clone for AccountInvoicesSettingsHostedPaymentMethodSave
Source§fn clone(&self) -> AccountInvoicesSettingsHostedPaymentMethodSave
fn clone(&self) -> AccountInvoicesSettingsHostedPaymentMethodSave
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 FromStr for AccountInvoicesSettingsHostedPaymentMethodSave
impl FromStr for AccountInvoicesSettingsHostedPaymentMethodSave
Source§type Err = StripeParseError
type Err = StripeParseError
The associated error which can be returned from parsing.
Source§fn from_str(
s: &str,
) -> Result<AccountInvoicesSettingsHostedPaymentMethodSave, <AccountInvoicesSettingsHostedPaymentMethodSave as FromStr>::Err>
fn from_str( s: &str, ) -> Result<AccountInvoicesSettingsHostedPaymentMethodSave, <AccountInvoicesSettingsHostedPaymentMethodSave as FromStr>::Err>
Parses a string
s
to return a value of this type. Read moreSource§impl PartialEq for AccountInvoicesSettingsHostedPaymentMethodSave
impl PartialEq for AccountInvoicesSettingsHostedPaymentMethodSave
Source§fn eq(&self, other: &AccountInvoicesSettingsHostedPaymentMethodSave) -> bool
fn eq(&self, other: &AccountInvoicesSettingsHostedPaymentMethodSave) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for AccountInvoicesSettingsHostedPaymentMethodSave
impl Eq for AccountInvoicesSettingsHostedPaymentMethodSave
impl StructuralPartialEq for AccountInvoicesSettingsHostedPaymentMethodSave
Auto Trait Implementations§
impl Freeze for AccountInvoicesSettingsHostedPaymentMethodSave
impl RefUnwindSafe for AccountInvoicesSettingsHostedPaymentMethodSave
impl Send for AccountInvoicesSettingsHostedPaymentMethodSave
impl Sync for AccountInvoicesSettingsHostedPaymentMethodSave
impl Unpin for AccountInvoicesSettingsHostedPaymentMethodSave
impl UnwindSafe for AccountInvoicesSettingsHostedPaymentMethodSave
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