1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#[allow(unused_imports)] use serde_json::Value; #[derive(Debug, Serialize, Deserialize)] pub struct PoolsPoolRule { /// Description for the provisioning rule. #[serde(rename = "description")] pub description: Option<String>, /// Interface name the provisioning rule applies to. #[serde(rename = "iface")] pub iface: Option<String>, /// Name of the provisioning rule. #[serde(rename = "name")] pub name: Option<String>, /// Node type the provisioning rule applies to. #[serde(rename = "node_type")] pub node_type: Option<String>, }