ory_hydra_client/models/
version.rs

1/*
2 * Ory Hydra API
3 *
4 * Documentation for all of Ory Hydra's APIs. 
5 *
6 * The version of the OpenAPI document: v2.2.0
7 * Contact: hi@ory.sh
8 * Generated by: https://openapi-generator.tech
9 */
10
11
12
13
14#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
15pub struct Version {
16    /// Version is the service's version.
17    #[serde(rename = "version", skip_serializing_if = "Option::is_none")]
18    pub version: Option<String>,
19}
20
21impl Default for Version {
22    fn default() -> Self {
23        Self::new()
24    }
25}
26
27impl Version {
28    pub fn new() -> Version {
29        Version {
30                version: None,
31        }
32    }
33}
34
35