Struct mail_builder::headers::message_id::MessageId
source · pub struct MessageId<'x> {
pub id: Vec<Cow<'x, str>>,
}
Expand description
RFC5322 Message ID header
Fields§
§id: Vec<Cow<'x, str>>
Implementations§
Trait Implementations§
source§impl<'x> From<MessageId<'x>> for HeaderType<'x>
impl<'x> From<MessageId<'x>> for HeaderType<'x>
source§impl<'x> Ord for MessageId<'x>
impl<'x> Ord for MessageId<'x>
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl<'x> PartialEq for MessageId<'x>
impl<'x> PartialEq for MessageId<'x>
source§impl<'x> PartialOrd for MessageId<'x>
impl<'x> PartialOrd for MessageId<'x>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl<'x> Eq for MessageId<'x>
impl<'x> StructuralPartialEq for MessageId<'x>
Auto Trait Implementations§
impl<'x> Freeze for MessageId<'x>
impl<'x> RefUnwindSafe for MessageId<'x>
impl<'x> Send for MessageId<'x>
impl<'x> Sync for MessageId<'x>
impl<'x> Unpin for MessageId<'x>
impl<'x> UnwindSafe for MessageId<'x>
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)