pub struct SimplifiedStructurePointers {
pub text_part: Option<PartPointer>,
pub html_part: Option<PartPointer>,
pub amp_html_part: Option<PartPointer>,
pub header_part: PartPointer,
pub attachments: Vec<PartPointer>,
}Fields§
§text_part: Option<PartPointer>The primary text/plain part
html_part: Option<PartPointer>The primary text/html part
amp_html_part: Option<PartPointer>The primary text/x-amp-html part
header_part: PartPointerThe “top level” set of headers for the message
attachments: Vec<PartPointer>all other (terminal) parts are attachments
Trait Implementations§
Source§impl Clone for SimplifiedStructurePointers
impl Clone for SimplifiedStructurePointers
Source§fn clone(&self) -> SimplifiedStructurePointers
fn clone(&self) -> SimplifiedStructurePointers
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SimplifiedStructurePointers
impl RefUnwindSafe for SimplifiedStructurePointers
impl Send for SimplifiedStructurePointers
impl Sync for SimplifiedStructurePointers
impl Unpin for SimplifiedStructurePointers
impl UnwindSafe for SimplifiedStructurePointers
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,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more