Struct gmime::Message [−]
pub struct Message(_, _);
Methods
impl Message
[src]
impl Message
pub fn new(pretty_headers: bool) -> Message
[src]
pub fn new(pretty_headers: bool) -> Message
If pretty_headers
is true
, then the standard rfc822 headers are
initialized so as to put headers in a nice friendly order. This is
strictly a cosmetic thing, so if you are unsure, it is safe to say
no (false
).
pretty_headers
make pretty headers
Returns
an empty Message
object.
Trait Implementations
impl Clone for Message
impl Clone for Message
fn clone(&self) -> Message
fn clone(&self) -> Message
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 Message
impl Debug for Message
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 Message
impl Hash for Message
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 Message
impl StaticType for Message
fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of Self
.
impl<T: IsA<Object>> PartialEq<T> for Message
impl<T: IsA<Object>> PartialEq<T> for Message
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 Message
impl Eq for Message
impl IsA<Object> for Message
impl IsA<Object> for Message
impl IsA<Object> for Message
impl IsA<Object> for Message