#[non_exhaustive]pub enum CreateSourceMandateNotificationMethod {
DeprecatedNone,
Email,
Manual,
None,
StripeEmail,
Unknown(String),
}Expand description
The method Stripe should use to notify the customer of upcoming debit instructions and/or mandate confirmation as required by the underlying debit network.
Either email (an email is sent directly to the customer), manual (a source.mandate_notification event is sent to your webhooks endpoint and you should handle the notification) or none (the underlying debit network does not require any notification).
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.
DeprecatedNone
Manual
None
StripeEmail
Unknown(String)
An unrecognized value from Stripe. Should not be used as a request parameter.
Implementations§
Trait Implementations§
Source§impl Clone for CreateSourceMandateNotificationMethod
impl Clone for CreateSourceMandateNotificationMethod
Source§fn clone(&self) -> CreateSourceMandateNotificationMethod
fn clone(&self) -> CreateSourceMandateNotificationMethod
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 CreateSourceMandateNotificationMethod
Available on non-crate feature redact-generated-debug only.
impl Debug for CreateSourceMandateNotificationMethod
Available on non-crate feature
redact-generated-debug only.Source§impl PartialEq for CreateSourceMandateNotificationMethod
impl PartialEq for CreateSourceMandateNotificationMethod
Source§fn eq(&self, other: &CreateSourceMandateNotificationMethod) -> bool
fn eq(&self, other: &CreateSourceMandateNotificationMethod) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for CreateSourceMandateNotificationMethod
impl StructuralPartialEq for CreateSourceMandateNotificationMethod
Auto Trait Implementations§
impl Freeze for CreateSourceMandateNotificationMethod
impl RefUnwindSafe for CreateSourceMandateNotificationMethod
impl Send for CreateSourceMandateNotificationMethod
impl Sync for CreateSourceMandateNotificationMethod
impl Unpin for CreateSourceMandateNotificationMethod
impl UnsafeUnpin for CreateSourceMandateNotificationMethod
impl UnwindSafe for CreateSourceMandateNotificationMethod
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