Struct gmime::MessagePart [−]
pub struct MessagePart(_, _);
Methods
impl MessagePart
[src]
impl MessagePart
pub fn new(subtype: &str) -> MessagePart
[src]
pub fn new(subtype: &str) -> MessagePart
Creates a new MIME message part object with a default content-type
of message/subtype
.
subtype
message subtype or None
for "rfc822"
Returns
an empty MIME message part object with a default
content-type of message/subtype
.
pub fn new_with_message(subtype: &str, message: &Message) -> MessagePart
[src]
pub fn new_with_message(subtype: &str, message: &Message) -> MessagePart
Trait Implementations
impl Clone for MessagePart
impl Clone for MessagePart
fn clone(&self) -> MessagePart
fn clone(&self) -> MessagePart
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 MessagePart
impl Debug for MessagePart
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 MessagePart
impl Hash for MessagePart
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 MessagePart
impl StaticType for MessagePart
fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of Self
.
impl<T: IsA<Object>> PartialEq<T> for MessagePart
impl<T: IsA<Object>> PartialEq<T> for MessagePart
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 MessagePart
impl Eq for MessagePart
impl IsA<Object> for MessagePart
impl IsA<Object> for MessagePart
impl IsA<Object> for MessagePart
impl IsA<Object> for MessagePart
Auto Trait Implementations
impl !Send for MessagePart
impl !Send for MessagePart
impl !Sync for MessagePart
impl !Sync for MessagePart