Struct mailparsing::SimplifiedStructurePointers
source · pub struct SimplifiedStructurePointers {
pub text_part: Option<PartPointer>,
pub 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
header_part: PartPointer
The “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 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 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,
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
)