nomad_client_rs/models/
spread_target.rs

1use serde::{Deserialize, Serialize};
2
3#[derive(Clone, Debug, Default, PartialEq, Serialize, Deserialize)]
4pub struct SpreadTarget {
5    #[serde(rename = "Percent", skip_serializing_if = "Option::is_none")]
6    pub percent: Option<i32>,
7    #[serde(rename = "Value", skip_serializing_if = "Option::is_none")]
8    pub value: Option<String>,
9}