nomad_client_rs/models/
one_time_token.rs

1use serde::{Deserialize, Serialize};
2
3#[derive(Clone, Debug, Default, PartialEq, Serialize, Deserialize)]
4pub struct OneTimeToken {
5    #[serde(rename = "AccessorID", skip_serializing_if = "Option::is_none")]
6    pub accessor_id: Option<String>,
7    #[serde(rename = "CreateIndex", skip_serializing_if = "Option::is_none")]
8    pub create_index: Option<i32>,
9    #[serde(rename = "ExpiresAt", skip_serializing_if = "Option::is_none")]
10    pub expires_at: Option<String>,
11    #[serde(rename = "ModifyIndex", skip_serializing_if = "Option::is_none")]
12    pub modify_index: Option<i32>,
13    #[serde(rename = "OneTimeSecretID", skip_serializing_if = "Option::is_none")]
14    pub one_time_secret_id: Option<String>,
15}