Struct gmail::request::labels_update::LabelsUpdateRequest
source · pub struct LabelsUpdateRequest {
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_update
.
On request success, this will return a LabelsUpdateResponse
.
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 LabelsUpdateRequest
impl Clone for LabelsUpdateRequest
source§fn clone(&self) -> LabelsUpdateRequest
fn clone(&self) -> LabelsUpdateRequest
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 LabelsUpdateRequest
impl Debug for LabelsUpdateRequest
source§impl<'de> Deserialize<'de> for LabelsUpdateRequest
impl<'de> Deserialize<'de> for LabelsUpdateRequest
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 LabelsUpdateRequest
impl RefUnwindSafe for LabelsUpdateRequest
impl Send for LabelsUpdateRequest
impl Sync for LabelsUpdateRequest
impl Unpin for LabelsUpdateRequest
impl UnwindSafe for LabelsUpdateRequest
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
)