pub struct UnsubscribeMail {
pub to: String,
pub subject: Option<String>,
pub body: Option<String>,
}Expand description
A mailto unsubscribe target from List-Unsubscribe, already checked.
Only to, subject and body survive. Every value is free of CR and LF and under
its cap, so it is safe to put in a message.
Fields§
§to: StringThe one recipient.
subject: Option<String>Subject the sender asked for.
body: Option<String>Body the sender asked for.
Trait Implementations§
Source§impl Clone for UnsubscribeMail
impl Clone for UnsubscribeMail
Source§impl Debug for UnsubscribeMail
impl Debug for UnsubscribeMail
impl Eq for UnsubscribeMail
Source§impl PartialEq for UnsubscribeMail
impl PartialEq for UnsubscribeMail
impl StructuralPartialEq for UnsubscribeMail
Auto Trait Implementations§
impl Forget for UnsubscribeMail
impl Freeze for UnsubscribeMail
impl Move for UnsubscribeMail
impl RefUnwindSafe for UnsubscribeMail
impl Send for UnsubscribeMailwhere
RawVecInner: Send,
impl Sync for UnsubscribeMailwhere
RawVecInner: Sync,
impl Unpin for UnsubscribeMail
impl UnsafeUnpin for UnsubscribeMail
impl UnwindSafe for UnsubscribeMailwhere
RawVecInner: UnwindSafe,
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