gapirs-drive-v3 0.0.1

Rust library for Google API drive v0.0.1
Documentation
// This file was generated by code-gen. DO NOT EDIT MANUALLY! 

///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.
#[derive(Debug, Clone, ::serde::Deserialize, ::serde::Serialize)]
pub struct ModifyLabelsRequest {
    #[serde(rename = "kind")]
    ///This is always drive#modifyLabelsRequest.
    pub kind: ::alloc::string::String,
    #[serde(rename = "labelModifications")]
    ///The list of modifications to apply to the labels on the file.
    pub label_modifications: ::alloc::vec::Vec<
        crate::discovery::schemas::label_modification::LabelModification,
    >,
}
///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.
#[derive(Debug, Clone, ::serde::Deserialize, ::serde::Serialize, Default)]
pub struct ModifyLabelsRequestPartial {
    #[serde(rename = "kind")]
    #[serde(skip_serializing_if = "::core::option::Option::is_none")]
    ///This is always drive#modifyLabelsRequest.
    pub kind: ::core::option::Option<::alloc::string::String>,
    #[serde(rename = "labelModifications")]
    #[serde(skip_serializing_if = "::core::option::Option::is_none")]
    ///The list of modifications to apply to the labels on the file.
    pub label_modifications: ::core::option::Option<
        ::alloc::vec::Vec<
            crate::discovery::schemas::label_modification::LabelModificationPartial,
        >,
    >,
}