Enum emailmessage::Part
source · pub enum Part<B = Body> {
Single(SinglePart<B>),
Multi(MultiPart<B>),
}
Expand description
MIME part variants
Variants
Single(SinglePart<B>)
Single part with content
Multi(MultiPart<B>)
Multiple parts of content
Implementations
sourceimpl<B> Part<B>
impl<B> Part<B>
sourcepub fn into_stream(self) -> PartStream<B>where
B: Payload,
pub fn into_stream(self) -> PartStream<B>where
B: Payload,
Converts part into stream
Trait Implementations
Auto Trait Implementations
impl<B = Body> !RefUnwindSafe for Part<B>
impl<B> Send for Part<B>where
B: Send,
impl<B = Body> !Sync for Part<B>
impl<B> Unpin for Part<B>where
B: Unpin,
impl<B = Body> !UnwindSafe for Part<B>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more