Struct gmail::request::messages_insert::MessagesInsertRequest
source · pub struct MessagesInsertRequest {
pub deleted: Option<bool>,
pub internal_date_source: Option<String>,
pub user_id: String,
}
Expand description
You should use this struct via GmailClient::messages_insert
.
On request success, this will return a Message
.
Fields§
§deleted: Option<bool>
§internal_date_source: Option<String>
§user_id: String
Trait Implementations§
source§impl Clone for MessagesInsertRequest
impl Clone for MessagesInsertRequest
source§fn clone(&self) -> MessagesInsertRequest
fn clone(&self) -> MessagesInsertRequest
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for MessagesInsertRequest
impl Debug for MessagesInsertRequest
source§impl<'de> Deserialize<'de> for MessagesInsertRequest
impl<'de> Deserialize<'de> for MessagesInsertRequest
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
Auto Trait Implementations§
impl Freeze for MessagesInsertRequest
impl RefUnwindSafe for MessagesInsertRequest
impl Send for MessagesInsertRequest
impl Sync for MessagesInsertRequest
impl Unpin for MessagesInsertRequest
impl UnwindSafe for MessagesInsertRequest
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)