Struct google_gmail1::api::Draft
source · pub struct Draft {
pub id: Option<String>,
pub message: Option<Message>,
}
Expand description
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).
- drafts create users (request|response)
- drafts get users (response)
- drafts send users (request)
- drafts update users (request|response)
Fields§
§id: Option<String>
The immutable ID of the draft.
message: Option<Message>
The message content of the draft.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Draft
impl<'de> Deserialize<'de> for Draft
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl RequestValue for Draft
impl ResponseResult for Draft
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more