Struct gmime::Part[]

pub struct Part(_, _);

A leaf-node MIME part object.

Implements

PartExt, ObjectExt

Methods

impl Part
[src]

Creates a new MIME Part object with a default content-type of application/octet-stream.

Returns

an empty MIME Part object with a default content-type of application/octet-stream.

Creates a new MIME Part with a sepcified type.

type_

content-type string

subtype

content-subtype string

Returns

an empty MIME Part object with the specified content-type.

Trait Implementations

impl IsA<Part> for ApplicationPkcs7Mime

impl Clone for Part

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Part

Formats the value using the given formatter. Read more

impl Hash for Part

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

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

impl StaticType for Part

Returns the type identifier of Self.

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

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

This method tests for !=.

impl Eq for Part

impl IsA<Object> for Part

impl IsA<Object> for Part

impl Default for Part
[src]

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

impl IsA<Part> for TextPart

impl IsA<Part> for MessagePartial

Auto Trait Implementations

impl !Send for Part

impl !Sync for Part