pub struct Text<'x> {
pub text: Cow<'x, str>,
}
Expand description
Unstructured text e-mail header.
Fields§
§text: Cow<'x, str>
Implementations§
Trait Implementations§
Source§impl<'x> From<Text<'x>> for HeaderType<'x>
impl<'x> From<Text<'x>> for HeaderType<'x>
Source§impl<'x> Ord for Text<'x>
impl<'x> Ord for Text<'x>
Source§impl<'x> PartialOrd for Text<'x>
impl<'x> PartialOrd for Text<'x>
impl<'x> Eq for Text<'x>
impl<'x> StructuralPartialEq for Text<'x>
Auto Trait Implementations§
impl<'x> Freeze for Text<'x>
impl<'x> RefUnwindSafe for Text<'x>
impl<'x> Send for Text<'x>
impl<'x> Sync for Text<'x>
impl<'x> Unpin for Text<'x>
impl<'x> UnwindSafe for Text<'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