Struct mandrill_sender::email::Attachment
[−]
[src]
pub struct Attachment { pub _type: String, pub name: String, pub content: String, }
Fields
_type: String
name: String
content: String
Trait Implementations
impl Decodable for Attachment
[src]
fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<Attachment, __D::Error>
Deserialize a value using a Decoder
.
impl Encodable for Attachment
[src]
fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>
Serialize a value using an Encoder
.
impl Clone for Attachment
[src]
fn clone(&self) -> Attachment
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