pub struct InlinePart {
pub cid: String,
pub bytes: Vec<u8>,
}Expand description
A part with a Content-ID, which the HTML shows as <img src="cid:…">.
Fields§
§cid: StringThe Content-ID without its angle brackets.
bytes: Vec<u8>Trait Implementations§
Source§impl Clone for InlinePart
impl Clone for InlinePart
Source§impl Debug for InlinePart
impl Debug for InlinePart
Source§impl PartialEq for InlinePart
impl PartialEq for InlinePart
impl StructuralPartialEq for InlinePart
Auto Trait Implementations§
impl Freeze for InlinePart
impl RefUnwindSafe for InlinePart
impl Send for InlinePart
impl Sync for InlinePart
impl Unpin for InlinePart
impl UnsafeUnpin for InlinePart
impl UnwindSafe for InlinePart
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