Struct google_gmail1::MessagePartBody [] [src]

pub struct MessagePartBody {
    pub attachment_id: Option<String>,
    pub data: Option<String>,
    pub size: Option<i32>,
}

The body of a single MIME message part.

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields

When present, contains the ID of an external attachment that can be retrieved in a separate messages.attachments.get request. When not present, the entire content of the message part body is contained in the data field.

The body data of a MIME message part as a base64url encoded string. May be empty for MIME container types that have no message body or when the body data is sent as a separate attachment. An attachment ID is present if the body data is contained in a separate attachment.

Number of bytes for the message part data (encoding notwithstanding).

Trait Implementations

impl Default for MessagePartBody
[src]

[src]

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

impl Clone for MessagePartBody
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for MessagePartBody
[src]

[src]

Formats the value using the given formatter.

impl ResponseResult for MessagePartBody
[src]