Struct gmime::Multipart [−]
pub struct Multipart(_, _);
Methods
impl Multipart
[src]
impl Multipart
pub fn new() -> Multipart
[src]
pub fn new() -> Multipart
Creates a new MIME multipart object with a default content-type of multipart/mixed.
Returns
an empty MIME multipart object with a default content-type of multipart/mixed.
pub fn new_with_subtype(subtype: &str) -> Multipart
[src]
pub fn new_with_subtype(subtype: &str) -> Multipart
Trait Implementations
impl Clone for Multipart
impl Clone for Multipart
fn clone(&self) -> Multipart
fn clone(&self) -> Multipart
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for Multipart
impl Debug for Multipart
fn fmt(&self, __arg_0: &mut Formatter) -> Result
fn fmt(&self, __arg_0: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Hash for Multipart
impl Hash for Multipart
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl StaticType for Multipart
impl StaticType for Multipart
fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of Self
.
impl<T: IsA<Object>> PartialEq<T> for Multipart
impl<T: IsA<Object>> PartialEq<T> for Multipart
fn eq(&self, other: &T) -> bool
fn eq(&self, other: &T) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for Multipart
impl Eq for Multipart
impl IsA<Object> for Multipart
impl IsA<Object> for Multipart
impl IsA<Object> for Multipart
impl IsA<Object> for Multipart
impl Default for Multipart
[src]
impl Default for Multipart
impl IsA<Multipart> for MultipartEncrypted
impl IsA<Multipart> for MultipartEncrypted
impl IsA<Multipart> for MultipartSigned
impl IsA<Multipart> for MultipartSigned