open_api_hydra/models/version.rs
1/*
2 * ORY Hydra
3 *
4 * Welcome to the ORY Hydra HTTP API documentation. You will find documentation for all HTTP APIs here.
5 *
6 * The version of the OpenAPI document: latest
7 *
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 Version {
22 pub fn new() -> Version {
23 Version {
24 version: None,
25 }
26 }
27}
28
29