pub struct MailBodyFile {
pub name: String,
pub mime: Option<String>,
pub data: Vec<u8>,
}
Expand description
Add file to the message struct.
§Values
name: String
- Name of file;mime: Option<String>
- Mime type of file;data: Vec<u8>
- Data.
Fields§
§name: String
Name of file
mime: Option<String>
Mime type of file
data: Vec<u8>
Data
Trait Implementations§
Source§impl Clone for MailBodyFile
impl Clone for MailBodyFile
Source§fn clone(&self) -> MailBodyFile
fn clone(&self) -> MailBodyFile
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for MailBodyFile
impl Debug for MailBodyFile
Auto Trait Implementations§
impl Freeze for MailBodyFile
impl RefUnwindSafe for MailBodyFile
impl Send for MailBodyFile
impl Sync for MailBodyFile
impl Unpin for MailBodyFile
impl UnwindSafe for MailBodyFile
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