Struct gmime::MessagePartial [−]
pub struct MessagePartial(_, _);
Methods
impl MessagePartial[src]
impl MessagePartialpub fn new(id: &str, number: i32, total: i32) -> MessagePartial[src]
pub fn new(id: &str, number: i32, total: i32) -> MessagePartialCreates 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 MessagePartialfn clone(&self) -> MessagePartial
fn clone(&self) -> MessagePartialReturns 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 MessagePartialfn fmt(&self, __arg_0: &mut Formatter) -> Result
fn fmt(&self, __arg_0: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Hash for MessagePartial
impl Hash for MessagePartialfn 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 MessagePartialfn static_type() -> Type
fn static_type() -> TypeReturns the type identifier of Self.
impl<T: IsA<Object>> PartialEq<T> for MessagePartial
impl<T: IsA<Object>> PartialEq<T> for MessagePartialfn eq(&self, other: &T) -> bool
fn eq(&self, other: &T) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> bool1.0.0
[src]This method tests for !=.
impl Eq for MessagePartial
impl Eq for MessagePartialimpl IsA<Part> for MessagePartial
impl IsA<Part> for MessagePartialimpl IsA<Object> for MessagePartial
impl IsA<Object> for MessagePartialimpl IsA<Object> for MessagePartial
impl IsA<Object> for MessagePartialAuto Trait Implementations
impl !Send for MessagePartial
impl !Send for MessagePartialimpl !Sync for MessagePartial
impl !Sync for MessagePartial