#[non_exhaustive]pub enum UnsubscribeMethod {
Mailto,
OneClick,
Link,
}Expand description
One way to unsubscribe.
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.
Mailto
Send an email to the sender’s address.
OneClick
Post to the sender’s https link without opening it.
Link
Open a link in a browser.
Trait Implementations§
Source§impl Clone for UnsubscribeMethod
impl Clone for UnsubscribeMethod
impl Copy for UnsubscribeMethod
Source§impl Debug for UnsubscribeMethod
impl Debug for UnsubscribeMethod
impl Eq for UnsubscribeMethod
Source§impl PartialEq for UnsubscribeMethod
impl PartialEq for UnsubscribeMethod
impl StructuralPartialEq for UnsubscribeMethod
Auto Trait Implementations§
impl Forget for UnsubscribeMethod
impl Freeze for UnsubscribeMethod
impl Move for UnsubscribeMethod
impl RefUnwindSafe for UnsubscribeMethod
impl Send for UnsubscribeMethod
impl Sync for UnsubscribeMethod
impl Unpin for UnsubscribeMethod
impl UnsafeUnpin for UnsubscribeMethod
impl UnwindSafe for UnsubscribeMethod
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