Struct mail_builder::headers::raw::Raw
source · pub struct Raw<'x> {
pub raw: Cow<'x, str>,
}
Expand description
Raw e-mail header. Raw headers are not encoded, only line-wrapped.
Fields§
§raw: Cow<'x, str>
Implementations§
Trait Implementations§
source§impl<'x> From<Raw<'x>> for HeaderType<'x>
impl<'x> From<Raw<'x>> for HeaderType<'x>
source§impl<'x> Ord for Raw<'x>
impl<'x> Ord for Raw<'x>
source§impl<'x> PartialEq<Raw<'x>> for Raw<'x>
impl<'x> PartialEq<Raw<'x>> for Raw<'x>
source§impl<'x> PartialOrd<Raw<'x>> for Raw<'x>
impl<'x> PartialOrd<Raw<'x>> for Raw<'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 Raw<'x>
impl<'x> StructuralEq for Raw<'x>
impl<'x> StructuralPartialEq for Raw<'x>
Auto Trait Implementations§
impl<'x> RefUnwindSafe for Raw<'x>
impl<'x> Send for Raw<'x>
impl<'x> Sync for Raw<'x>
impl<'x> Unpin for Raw<'x>
impl<'x> UnwindSafe for Raw<'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