Struct gmime::TextPart [−]
pub struct TextPart(_, _);
Methods
impl TextPart[src]
impl TextPartpub fn new() -> TextPart[src]
pub fn new() -> TextPartCreates a new text MIME part object with a default content-type of text/plain.
Returns
an empty MIME Part object with a default content-type of text/plain.
pub fn new_with_subtype(subtype: &str) -> TextPart[src]
pub fn new_with_subtype(subtype: &str) -> TextPartTrait Implementations
impl Clone for TextPart
impl Clone for TextPartfn clone(&self) -> TextPart
fn clone(&self) -> TextPartReturns 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 TextPart
impl Debug for TextPartfn 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 TextPart
impl Hash for TextPartfn 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 TextPart
impl StaticType for TextPartfn static_type() -> Type
fn static_type() -> TypeReturns the type identifier of Self.
impl<T: IsA<Object>> PartialEq<T> for TextPart
impl<T: IsA<Object>> PartialEq<T> for TextPartfn 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 TextPart
impl Eq for TextPartimpl IsA<Part> for TextPart
impl IsA<Part> for TextPartimpl IsA<Object> for TextPart
impl IsA<Object> for TextPartimpl IsA<Object> for TextPart
impl IsA<Object> for TextPartimpl Default for TextPart[src]
impl Default for TextPart