ory_client_client/models/inline_response_200_1.rs
1/*
2 * Ory APIs
3 *
4 * Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
5 *
6 * The version of the OpenAPI document: v0.0.1-alpha.1
7 * Contact: support@ory.sh
8 * Generated by: https://openapi-generator.tech
9 */
10
11
12
13
14#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
15pub struct InlineResponse2001 {
16 /// The version of Ory Kratos.
17 #[serde(rename = "version")]
18 pub version: String,
19}
20
21impl InlineResponse2001 {
22 pub fn new(version: String) -> InlineResponse2001 {
23 InlineResponse2001 {
24 version,
25 }
26 }
27}
28
29