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! 

///The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by \[gRPC\](<https://github.com/grpc).> Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the \[API Design Guide\](https://cloud.google.com/apis/design/errors).
#[derive(Debug, Clone, ::serde::Deserialize, ::serde::Serialize)]
pub struct Status {
    #[serde(rename = "code")]
    ///The status code, which should be an enum value of google.rpc.Code.
    pub code: ::core::primitive::i32,
    #[serde(rename = "details")]
    ///A list of messages that carry the error details. There is a common set of message types for APIs to use.
    pub details: ::alloc::vec::Vec<status_details_additional::Details>,
    #[serde(rename = "message")]
    ///A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
    pub message: ::alloc::string::String,
}
///The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by \[gRPC\](<https://github.com/grpc).> Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the \[API Design Guide\](https://cloud.google.com/apis/design/errors).
#[derive(Debug, Clone, ::serde::Deserialize, ::serde::Serialize, Default)]
pub struct StatusPartial {
    #[serde(rename = "code")]
    #[serde(skip_serializing_if = "::core::option::Option::is_none")]
    ///The status code, which should be an enum value of google.rpc.Code.
    pub code: ::core::option::Option<::core::primitive::i32>,
    #[serde(rename = "details")]
    #[serde(skip_serializing_if = "::core::option::Option::is_none")]
    ///A list of messages that carry the error details. There is a common set of message types for APIs to use.
    pub details: ::core::option::Option<
        ::alloc::vec::Vec<status_details_additional::DetailsPartial>,
    >,
    #[serde(rename = "message")]
    #[serde(skip_serializing_if = "::core::option::Option::is_none")]
    ///A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
    pub message: ::core::option::Option<::alloc::string::String>,
}
pub mod status_details_additional {
    use super::*;
    ///No description
    #[derive(Debug, Clone, ::serde::Deserialize, ::serde::Serialize)]
    pub struct Details {}
    ///No description
    #[derive(Debug, Clone, ::serde::Deserialize, ::serde::Serialize, Default)]
    pub struct DetailsPartial {}
}