Struct gmime::Part [−]
pub struct Part(_, _);
Methods
impl Part
[src]
impl Part
pub fn new() -> Part
[src]
pub fn new() -> Part
Creates a new MIME Part object with a default content-type of application/octet-stream.
Returns
an empty MIME Part object with a default content-type of application/octet-stream.
pub fn new_with_type(type_: &str, subtype: &str) -> Part
[src]
pub fn new_with_type(type_: &str, subtype: &str) -> Part
Trait Implementations
impl IsA<Part> for ApplicationPkcs7Mime
impl IsA<Part> for ApplicationPkcs7Mime
impl Clone for Part
impl Clone for Part
fn clone(&self) -> Part
fn clone(&self) -> Part
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 Part
impl Debug for Part
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 Part
impl Hash for Part
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 Part
impl StaticType for Part
fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of Self
.
impl<T: IsA<Object>> PartialEq<T> for Part
impl<T: IsA<Object>> PartialEq<T> for Part
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 Part
impl Eq for Part
impl IsA<Object> for Part
impl IsA<Object> for Part
impl IsA<Object> for Part
impl IsA<Object> for Part
impl Default for Part
[src]
impl Default for Part
impl IsA<Part> for TextPart
impl IsA<Part> for TextPart
impl IsA<Part> for MessagePartial
impl IsA<Part> for MessagePartial