Struct mail_builder::headers::text::Text
source · 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> PartialEq for Text<'x>
impl<'x> PartialEq for Text<'x>
source§impl<'x> PartialOrd for Text<'x>
impl<'x> PartialOrd for Text<'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 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
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
)