nomad_client_rs/models/
raft_configuration.rs

1use serde::{Deserialize, Serialize};
2
3#[derive(Clone, Debug, Default, PartialEq, Serialize, Deserialize)]
4pub struct RaftConfiguration {
5    #[serde(rename = "Index", skip_serializing_if = "Option::is_none")]
6    pub index: Option<i32>,
7    #[serde(rename = "Servers", skip_serializing_if = "Option::is_none")]
8    pub servers: Option<Vec<crate::models::RaftServer>>,
9}