Struct google_gmail1::api::Draft[][src]

pub struct Draft {
    pub id: Option<String>,
    pub message: Option<Message>,
}

A draft email in the user’s mailbox.

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

id: Option<String>

The immutable ID of the draft.

message: Option<Message>

The message content of the draft.

Trait Implementations

impl Clone for Draft[src]

impl Debug for Draft[src]

impl Default for Draft[src]

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

impl RequestValue for Draft[src]

impl ResponseResult for Draft[src]

impl Serialize for Draft[src]

Auto Trait Implementations

impl RefUnwindSafe for Draft

impl Send for Draft

impl Sync for Draft

impl Unpin for Draft

impl UnwindSafe for Draft

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.