Struct mime_multipart::Part
[−]
[src]
pub struct Part {
pub headers: Headers,
pub body: Vec<u8>,
}A multipart part which is not a file (stored in memory)
Fields
headers: Headers
body: Vec<u8>
Methods
impl Part[src]
fn content_type(&self) -> Option<Mime>
Mime content-type specified in the header
Trait Implementations
impl PartialEq for Part[src]
fn eq(&self, __arg_0: &Part) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Part) -> bool
This method tests for !=.
impl Debug for Part[src]
impl Clone for Part[src]
fn clone(&self) -> Part
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more