nomad_client/models/
keyring_response.rs

1/*
2 * Nomad
3 *
4 * Nomad OpenApi specification
5 *
6 * The version of the OpenAPI document: 0.11.0
7 * 
8 * Generated by: https://openapi-generator.tech
9 */
10
11
12
13
14#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
15pub struct KeyringResponse {
16    #[serde(rename = "Messages", skip_serializing_if = "Option::is_none")]
17    pub messages: Option<::std::collections::HashMap<String, String>>,
18    #[serde(rename = "Keys", skip_serializing_if = "Option::is_none")]
19    pub keys: Option<::std::collections::HashMap<String, i32>>,
20    #[serde(rename = "NumNodes", skip_serializing_if = "Option::is_none")]
21    pub num_nodes: Option<i32>,
22}
23
24impl KeyringResponse {
25    pub fn new() -> KeyringResponse {
26        KeyringResponse {
27            messages: None,
28            keys: None,
29            num_nodes: None,
30        }
31    }
32}
33
34