Struct google_drive3::api::ModifyLabelsRequest
source · pub struct ModifyLabelsRequest {
pub kind: Option<String>,
pub label_modifications: Option<Vec<LabelModification>>,
}
Expand description
A request to modify the set of labels on a file. This request may contain many modifications that will either all succeed or all fail atomically.
§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).
- modify labels files (request)
Fields§
§kind: Option<String>
This is always drive#modifyLabelsRequest.
label_modifications: Option<Vec<LabelModification>>
The list of modifications to apply to the labels on the file.
Trait Implementations§
source§impl Clone for ModifyLabelsRequest
impl Clone for ModifyLabelsRequest
source§fn clone(&self) -> ModifyLabelsRequest
fn clone(&self) -> ModifyLabelsRequest
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 ModifyLabelsRequest
impl Debug for ModifyLabelsRequest
source§impl Default for ModifyLabelsRequest
impl Default for ModifyLabelsRequest
source§fn default() -> ModifyLabelsRequest
fn default() -> ModifyLabelsRequest
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ModifyLabelsRequest
impl<'de> Deserialize<'de> for ModifyLabelsRequest
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
source§impl Serialize for ModifyLabelsRequest
impl Serialize for ModifyLabelsRequest
impl RequestValue for ModifyLabelsRequest
Auto Trait Implementations§
impl RefUnwindSafe for ModifyLabelsRequest
impl Send for ModifyLabelsRequest
impl Sync for ModifyLabelsRequest
impl Unpin for ModifyLabelsRequest
impl UnwindSafe for ModifyLabelsRequest
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