Struct gmime::MessagePartial [−]
pub struct MessagePartial(_, _);
Methods
impl MessagePartial
[src]
impl MessagePartial
pub fn new(id: &str, number: i32, total: i32) -> MessagePartial
[src]
pub fn new(id: &str, number: i32, total: i32) -> MessagePartial
Creates a new MIME message/partial object.
id
message/partial part id
number
message/partial part number
total
total number of message/partial parts
Returns
an empty MIME message/partial object.
pub fn reconstruct_message(partials: &Vec<MessagePartial>) -> Option<Message>
[src]
pub fn reconstruct_message(partials: &Vec<MessagePartial>) -> Option<Message>
Trait Implementations
impl Clone for MessagePartial
impl Clone for MessagePartial
fn clone(&self) -> MessagePartial
fn clone(&self) -> MessagePartial
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 MessagePartial
impl Debug for MessagePartial
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 MessagePartial
impl Hash for MessagePartial
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 MessagePartial
impl StaticType for MessagePartial
fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of Self
.
impl<T: IsA<Object>> PartialEq<T> for MessagePartial
impl<T: IsA<Object>> PartialEq<T> for MessagePartial
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 MessagePartial
impl Eq for MessagePartial
impl IsA<Part> for MessagePartial
impl IsA<Part> for MessagePartial
impl IsA<Object> for MessagePartial
impl IsA<Object> for MessagePartial
impl IsA<Object> for MessagePartial
impl IsA<Object> for MessagePartial
Auto Trait Implementations
impl !Send for MessagePartial
impl !Send for MessagePartial
impl !Sync for MessagePartial
impl !Sync for MessagePartial