Skip to main content

exoscale_rs/models/
error_response_errors_inner.rs

1/*
2 * Exoscale API
3 *
4 * Infrastructure automation API, allowing programmatic access to all Exoscale products and services.
5 *
6 * The version of the OpenAPI document: 2.0.0
7 * Contact: support@exoscale.com
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct ErrorResponseErrorsInner {
16    #[serde(rename = "path", skip_serializing_if = "Option::is_none")]
17    pub path: Option<String>,
18    #[serde(rename = "detail", skip_serializing_if = "Option::is_none")]
19    pub detail: Option<String>,
20    #[serde(rename = "pointer", skip_serializing_if = "Option::is_none")]
21    pub pointer: Option<String>,
22    #[serde(rename = "location", skip_serializing_if = "Option::is_none")]
23    pub location: Option<String>,
24}
25
26impl ErrorResponseErrorsInner {
27    pub fn new() -> ErrorResponseErrorsInner {
28        ErrorResponseErrorsInner {
29            path: None,
30            detail: None,
31            pointer: None,
32            location: None,
33        }
34    }
35}
36