Struct gmime::MessagePart[]

pub struct MessagePart(_, _);
[]

A message/rfc822 or message/news MIME part.

Implements

MessagePartExt, ObjectExt

Methods

impl MessagePart
[src]
[]

[]

Creates a new MIME message part object with a default content-type of message/subtype.

subtype

message subtype or None for "rfc822"

Returns

an empty MIME message part object with a default content-type of message/subtype.

[]

Creates a new MIME message part object with a default content-type of message/subtype containing message.

subtype

message subtype or None for "rfc822"

message

message

Returns

a MIME message part object with a default content-type of message/subtype containing message.

Trait Implementations

impl Clone for MessagePart
[+]

[]

Returns a copy of the value. Read more

[]

Performs copy-assignment from source. Read more

impl Debug for MessagePart
[+]

[]

Formats the value using the given formatter. Read more

impl Hash for MessagePart
[+]

[]

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

[]

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

impl StaticType for MessagePart
[+]

[]

Returns the type identifier of Self.

impl<T: IsA<Object>> PartialEq<T> for MessagePart
[+]

[]

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

[]

This method tests for !=.

impl Eq for MessagePart

impl IsA<Object> for MessagePart

impl IsA<Object> for MessagePart

Auto Trait Implementations

impl !Send for MessagePart

impl !Sync for MessagePart