Struct gmail::request::labels_patch::LabelsPatchRequest
source · pub struct LabelsPatchRequest {
pub color: Option<Value>,
pub id: String,
pub label_list_visibility: Option<String>,
pub message_list_visibility: Option<String>,
pub messages_total: Option<i64>,
pub messages_unread: Option<i64>,
pub name: Option<String>,
pub threads_total: Option<i64>,
pub threads_unread: Option<i64>,
pub type_: Option<String>,
pub user_id: String,
}
Expand description
You should use this struct via GmailClient::labels_patch
.
On request success, this will return a LabelsPatchResponse
.
Fields§
§color: Option<Value>
§id: String
§label_list_visibility: Option<String>
§message_list_visibility: Option<String>
§messages_total: Option<i64>
§messages_unread: Option<i64>
§name: Option<String>
§threads_total: Option<i64>
§threads_unread: Option<i64>
§type_: Option<String>
§user_id: String
Trait Implementations§
source§impl Clone for LabelsPatchRequest
impl Clone for LabelsPatchRequest
source§fn clone(&self) -> LabelsPatchRequest
fn clone(&self) -> LabelsPatchRequest
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 LabelsPatchRequest
impl Debug for LabelsPatchRequest
source§impl<'de> Deserialize<'de> for LabelsPatchRequest
impl<'de> Deserialize<'de> for LabelsPatchRequest
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 LabelsPatchRequest
impl RefUnwindSafe for LabelsPatchRequest
impl Send for LabelsPatchRequest
impl Sync for LabelsPatchRequest
impl Unpin for LabelsPatchRequest
impl UnwindSafe for LabelsPatchRequest
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