pub struct Attachment {
pub path: PathBuf,
pub mime: Option<String>,
pub description: Option<String>,
}Expand description
A file named in an Attach: pseudo-header of the draft.
Fields§
§path: PathBuf§mime: Option<String>Content-type override (compose menu ctrl+t); guessed from the extension otherwise.
description: Option<String>Auto Trait Implementations§
impl Freeze for Attachment
impl RefUnwindSafe for Attachment
impl Send for Attachment
impl Sync for Attachment
impl Unpin for Attachment
impl UnsafeUnpin for Attachment
impl UnwindSafe for Attachment
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