Struct gmail::request::labels_create::LabelsCreateRequest
source · pub struct LabelsCreateRequest {
pub color: Option<Value>,
pub id: Option<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_create
.
On request success, this will return a LabelsCreateResponse
.
Fields§
§color: Option<Value>
§id: Option<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 LabelsCreateRequest
impl Clone for LabelsCreateRequest
source§fn clone(&self) -> LabelsCreateRequest
fn clone(&self) -> LabelsCreateRequest
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 LabelsCreateRequest
impl Debug for LabelsCreateRequest
source§impl<'de> Deserialize<'de> for LabelsCreateRequest
impl<'de> Deserialize<'de> for LabelsCreateRequest
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 LabelsCreateRequest
impl RefUnwindSafe for LabelsCreateRequest
impl Send for LabelsCreateRequest
impl Sync for LabelsCreateRequest
impl Unpin for LabelsCreateRequest
impl UnwindSafe for LabelsCreateRequest
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