pub struct Attachment {
pub index: usize,
pub filename: String,
pub mime_type: String,
pub size: u64,
pub content_id: Option<String>,
pub stored: bool,
}Fields§
§index: usize§filename: String§mime_type: String§size: u64§content_id: Option<String>Set on a part the HTML shows inline, where it says cid: and this id.
stored: boolFalse when the part had no body. Fetching it would answer 404.
Trait Implementations§
Source§impl Clone for Attachment
impl Clone for Attachment
Auto Trait Implementations§
impl Forget for Attachment
impl Freeze for Attachment
impl Move for Attachment
impl RefUnwindSafe for Attachment
impl Send for Attachmentwhere
RawVecInner: Send,
impl Sync for Attachmentwhere
RawVecInner: Sync,
impl Unpin for Attachment
impl UnsafeUnpin for Attachment
impl UnwindSafe for Attachmentwhere
RawVecInner: UnwindSafe,
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