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! 

///Representation of label and label fields.
#[derive(Debug, Clone, ::serde::Deserialize, ::serde::Serialize)]
pub struct Label {
    #[serde(rename = "fields")]
    ///A map of the fields on the label, keyed by the field's ID.
    pub fields: label_fields_additional::Fields,
    #[serde(rename = "id")]
    ///The ID of the label.
    pub id: ::alloc::string::String,
    #[serde(rename = "kind")]
    ///This is always drive#label
    pub kind: ::alloc::string::String,
    #[serde(rename = "revisionId")]
    ///The revision ID of the label.
    pub revision_id: ::alloc::string::String,
}
///Representation of label and label fields.
#[derive(Debug, Clone, ::serde::Deserialize, ::serde::Serialize, Default)]
pub struct LabelPartial {
    #[serde(rename = "fields")]
    #[serde(skip_serializing_if = "::core::option::Option::is_none")]
    ///A map of the fields on the label, keyed by the field's ID.
    pub fields: ::core::option::Option<label_fields_additional::FieldsPartial>,
    #[serde(rename = "id")]
    #[serde(skip_serializing_if = "::core::option::Option::is_none")]
    ///The ID of the label.
    pub id: ::core::option::Option<::alloc::string::String>,
    #[serde(rename = "kind")]
    #[serde(skip_serializing_if = "::core::option::Option::is_none")]
    ///This is always drive#label
    pub kind: ::core::option::Option<::alloc::string::String>,
    #[serde(rename = "revisionId")]
    #[serde(skip_serializing_if = "::core::option::Option::is_none")]
    ///The revision ID of the label.
    pub revision_id: ::core::option::Option<::alloc::string::String>,
}
pub mod label_fields_additional {
    use super::*;
    ///A map of the fields on the label, keyed by the field's ID.
    #[derive(Debug, Clone, ::serde::Deserialize, ::serde::Serialize)]
    pub struct Fields {}
    ///A map of the fields on the label, keyed by the field's ID.
    #[derive(Debug, Clone, ::serde::Deserialize, ::serde::Serialize, Default)]
    pub struct FieldsPartial {}
}