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 modification to a label's field.
#[derive(Debug, Clone, ::serde::Deserialize, ::serde::Serialize)]
pub struct LabelFieldModification {
    #[serde(rename = "fieldId")]
    ///The ID of the field to be modified.
    pub field_id: ::alloc::string::String,
    #[serde(rename = "kind")]
    ///This is always drive#labelFieldModification.
    pub kind: ::alloc::string::String,
    #[serde(rename = "setDateValues")]
    ///Replaces the value of a dateString Field with these new values. The string must be in the RFC 3339 full-date format: YYYY-MM-DD.
    pub set_date_values: ::alloc::vec::Vec<::alloc::string::String>,
    #[serde(rename = "setIntegerValues")]
    ///Replaces the value of an `integer` field with these new values.
    pub set_integer_values: ::alloc::vec::Vec<::alloc::string::String>,
    #[serde(rename = "setSelectionValues")]
    ///Replaces a `selection` field with these new values.
    pub set_selection_values: ::alloc::vec::Vec<::alloc::string::String>,
    #[serde(rename = "setTextValues")]
    ///Sets the value of a `text` field.
    pub set_text_values: ::alloc::vec::Vec<::alloc::string::String>,
    #[serde(rename = "setUserValues")]
    ///Replaces a `user` field with these new values. The values must be valid email addresses.
    pub set_user_values: ::alloc::vec::Vec<::alloc::string::String>,
    #[serde(rename = "unsetValues")]
    ///Unsets the values for this field.
    pub unset_values: ::core::primitive::bool,
}
///A modification to a label's field.
#[derive(Debug, Clone, ::serde::Deserialize, ::serde::Serialize, Default)]
pub struct LabelFieldModificationPartial {
    #[serde(rename = "fieldId")]
    #[serde(skip_serializing_if = "::core::option::Option::is_none")]
    ///The ID of the field to be modified.
    pub field_id: ::core::option::Option<::alloc::string::String>,
    #[serde(rename = "kind")]
    #[serde(skip_serializing_if = "::core::option::Option::is_none")]
    ///This is always drive#labelFieldModification.
    pub kind: ::core::option::Option<::alloc::string::String>,
    #[serde(rename = "setDateValues")]
    #[serde(skip_serializing_if = "::core::option::Option::is_none")]
    ///Replaces the value of a dateString Field with these new values. The string must be in the RFC 3339 full-date format: YYYY-MM-DD.
    pub set_date_values: ::core::option::Option<
        ::alloc::vec::Vec<::alloc::string::String>,
    >,
    #[serde(rename = "setIntegerValues")]
    #[serde(skip_serializing_if = "::core::option::Option::is_none")]
    ///Replaces the value of an `integer` field with these new values.
    pub set_integer_values: ::core::option::Option<
        ::alloc::vec::Vec<::alloc::string::String>,
    >,
    #[serde(rename = "setSelectionValues")]
    #[serde(skip_serializing_if = "::core::option::Option::is_none")]
    ///Replaces a `selection` field with these new values.
    pub set_selection_values: ::core::option::Option<
        ::alloc::vec::Vec<::alloc::string::String>,
    >,
    #[serde(rename = "setTextValues")]
    #[serde(skip_serializing_if = "::core::option::Option::is_none")]
    ///Sets the value of a `text` field.
    pub set_text_values: ::core::option::Option<
        ::alloc::vec::Vec<::alloc::string::String>,
    >,
    #[serde(rename = "setUserValues")]
    #[serde(skip_serializing_if = "::core::option::Option::is_none")]
    ///Replaces a `user` field with these new values. The values must be valid email addresses.
    pub set_user_values: ::core::option::Option<
        ::alloc::vec::Vec<::alloc::string::String>,
    >,
    #[serde(rename = "unsetValues")]
    #[serde(skip_serializing_if = "::core::option::Option::is_none")]
    ///Unsets the values for this field.
    pub unset_values: ::core::option::Option<::core::primitive::bool>,
}