pub struct SimplifiedStructure<'a> {
pub text: Option<SharedString<'a>>,
pub html: Option<SharedString<'a>>,
pub amp_html: Option<SharedString<'a>>,
pub headers: &'a HeaderMap<'a>,
pub attachments: Vec<MimePart<'a>>,
}Fields§
§text: Option<SharedString<'a>>§html: Option<SharedString<'a>>§amp_html: Option<SharedString<'a>>§headers: &'a HeaderMap<'a>§attachments: Vec<MimePart<'a>>Trait Implementations§
Source§impl<'a> Clone for SimplifiedStructure<'a>
impl<'a> Clone for SimplifiedStructure<'a>
Source§impl<'a> Debug for SimplifiedStructure<'a>
impl<'a> Debug for SimplifiedStructure<'a>
Source§impl<'a> PartialEq for SimplifiedStructure<'a>
impl<'a> PartialEq for SimplifiedStructure<'a>
impl<'a> StructuralPartialEq for SimplifiedStructure<'a>
Auto Trait Implementations§
impl<'a> Freeze for SimplifiedStructure<'a>
impl<'a> RefUnwindSafe for SimplifiedStructure<'a>
impl<'a> Send for SimplifiedStructure<'a>
impl<'a> Sync for SimplifiedStructure<'a>
impl<'a> Unpin for SimplifiedStructure<'a>
impl<'a> UnsafeUnpin for SimplifiedStructure<'a>
impl<'a> UnwindSafe for SimplifiedStructure<'a>
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
impl<T> ErasedDestructor for Twhere
T: 'static,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> 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