Struct gmime::TextPart[]

pub struct TextPart(_, _);

A text MIME part object.

Implements

TextPartExt, PartExt, ObjectExt

Methods

impl TextPart
[src]

Creates 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.

Creates a new text MIME part with a sepcified subtype.

subtype

textual subtype string

Returns

an empty text MIME part object with the specified subtype.

Trait Implementations

impl Clone for TextPart

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for TextPart

Formats the value using the given formatter. Read more

impl Hash for TextPart

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl StaticType for TextPart

Returns the type identifier of Self.

impl<T: IsA<Object>> PartialEq<T> for TextPart

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for TextPart

impl IsA<Part> for TextPart

impl IsA<Object> for TextPart

impl IsA<Object> for TextPart

impl Default for TextPart
[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl !Send for TextPart

impl !Sync for TextPart