Struct mail::header_components::Word
source · pub struct Word {
pub left_padding: Option<CFWS>,
pub input: Input,
pub right_padding: Option<CFWS>,
}Expand description
A ward as in the mail grammar (RFC 5322).
Warning: This is likely to change in the future before the 1.0 release.
Fields
left_padding: Option<CFWS>input: Inputright_padding: Option<CFWS>Implementations
Trait Implementations
sourceimpl<T> HeaderTryFrom<T> for Wordwhere
T: HeaderTryInto<Input>,
impl<T> HeaderTryFrom<T> for Wordwhere
T: HeaderTryInto<Input>,
fn try_from(input: T) -> Result<Word, ComponentCreationError>
impl Eq for Word
impl StructuralEq for Word
impl StructuralPartialEq for Word
Auto Trait Implementations
impl RefUnwindSafe for Word
impl Send for Word
impl Sync for Word
impl Unpin for Word
impl UnwindSafe for Word
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more