pub struct AttachmentInfo {
pub part: String,
pub content_type: String,
pub size: u64,
pub name: String,
}Expand description
An attachment listed on a message.
Fields§
§part: StringPart identifier the provider understands.
content_type: StringMIME type.
size: u64Size in bytes.
name: StringFile name, when the message has one.
Trait Implementations§
Source§impl Clone for AttachmentInfo
impl Clone for AttachmentInfo
Source§impl Debug for AttachmentInfo
impl Debug for AttachmentInfo
impl Eq for AttachmentInfo
Source§impl PartialEq for AttachmentInfo
impl PartialEq for AttachmentInfo
impl StructuralPartialEq for AttachmentInfo
Auto Trait Implementations§
impl Forget for AttachmentInfo
impl Freeze for AttachmentInfo
impl Move for AttachmentInfo
impl RefUnwindSafe for AttachmentInfo
impl Send for AttachmentInfowhere
RawVecInner: Send,
impl Sync for AttachmentInfowhere
RawVecInner: Sync,
impl Unpin for AttachmentInfo
impl UnsafeUnpin for AttachmentInfo
impl UnwindSafe for AttachmentInfowhere
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