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> PartialOrd for Raw<'x>
impl<'x> PartialOrd for Raw<'x>
impl<'x> Eq for Raw<'x>
impl<'x> StructuralPartialEq for Raw<'x>
Auto Trait Implementations§
impl<'x> Freeze for Raw<'x>
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