pub struct SimplifiedStructure<'a> {
pub text: Option<SharedString<'a>>,
pub html: Option<SharedString<'a>>,
pub headers: &'a HeaderMap<'a>,
pub attachments: Vec<MimePart<'a>>,
}
Fields§
§text: Option<SharedString<'a>>
§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§fn clone(&self) -> SimplifiedStructure<'a>
fn clone(&self) -> SimplifiedStructure<'a>
Returns a copy 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<'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> 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)