pub struct Eml {
pub headers: Vec<HeaderField>,
pub from: Option<HeaderFieldValue>,
pub to: Option<HeaderFieldValue>,
pub subject: Option<String>,
pub body: Option<String>,
}Fields§
§headers: Vec<HeaderField>§from: Option<HeaderFieldValue>§to: Option<HeaderFieldValue>§subject: Option<String>§body: Option<String>Trait Implementations§
Auto Trait Implementations§
impl Freeze for Eml
impl RefUnwindSafe for Eml
impl Send for Eml
impl Sync for Eml
impl Unpin for Eml
impl UnsafeUnpin for Eml
impl UnwindSafe for Eml
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, S> SpanWrap<S> for Twhere
S: WrappingSpan<T>,
impl<T, S> SpanWrap<S> for Twhere
S: WrappingSpan<T>,
Source§fn with_span(self, span: S) -> <S as WrappingSpan<Self>>::Spanned
fn with_span(self, span: S) -> <S as WrappingSpan<Self>>::Spanned
Invokes
WrappingSpan::make_wrapped to wrap an AST node in a span.