Struct nomad_client_rs::models::attribute::Attribute
source · pub struct Attribute {
pub float: Option<f64>,
pub int: Option<i64>,
pub string: Option<String>,
pub bool: Option<bool>,
pub unit: Option<String>,
}
Fields§
§float: Option<f64>
§int: Option<i64>
§string: Option<String>
§bool: Option<bool>
§unit: Option<String>
Trait Implementations§
source§impl<'de> Deserialize<'de> for Attribute
impl<'de> Deserialize<'de> for Attribute
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more