Struct google_gmail1::api::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

attachment_id: Option<String>

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.

data: Option<String>

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.

size: Option<i32>

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

Trait Implementations

impl Clone for MessagePartBody[src]

impl Debug for MessagePartBody[src]

impl Default for MessagePartBody[src]

impl<'de> Deserialize<'de> for MessagePartBody[src]

impl ResponseResult for MessagePartBody[src]

impl Serialize for MessagePartBody[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.