#[non_exhaustive]pub enum UpdateSourceMandateNotificationMethod {
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 UpdateSourceMandateNotificationMethod
impl Clone for UpdateSourceMandateNotificationMethod
Source§fn clone(&self) -> UpdateSourceMandateNotificationMethod
fn clone(&self) -> UpdateSourceMandateNotificationMethod
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 UpdateSourceMandateNotificationMethod
Available on non-crate feature redact-generated-debug only.
impl Debug for UpdateSourceMandateNotificationMethod
Available on non-crate feature
redact-generated-debug only.Source§impl PartialEq for UpdateSourceMandateNotificationMethod
impl PartialEq for UpdateSourceMandateNotificationMethod
Source§fn eq(&self, other: &UpdateSourceMandateNotificationMethod) -> bool
fn eq(&self, other: &UpdateSourceMandateNotificationMethod) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for UpdateSourceMandateNotificationMethod
impl StructuralPartialEq for UpdateSourceMandateNotificationMethod
Auto Trait Implementations§
impl Freeze for UpdateSourceMandateNotificationMethod
impl RefUnwindSafe for UpdateSourceMandateNotificationMethod
impl Send for UpdateSourceMandateNotificationMethod
impl Sync for UpdateSourceMandateNotificationMethod
impl Unpin for UpdateSourceMandateNotificationMethod
impl UnsafeUnpin for UpdateSourceMandateNotificationMethod
impl UnwindSafe for UpdateSourceMandateNotificationMethod
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