pub struct Part {
pub mimetype: String,
pub filename: Option<String>,
pub size: usize,
pub is_text: bool,
}Expand description
One leaf MIME part, for the attachment menu.
Fields§
§mimetype: String§filename: Option<String>§size: usizeDecoded size in bytes.
is_text: boolTrait Implementations§
Auto Trait Implementations§
impl Freeze for Part
impl RefUnwindSafe for Part
impl Send for Part
impl Sync for Part
impl Unpin for Part
impl UnsafeUnpin for Part
impl UnwindSafe for Part
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