Struct nomad_client_rs::models::constraint::Constraint
source · pub struct Constraint {
pub l_target: Option<String>,
pub r_target: Option<String>,
pub operand: Option<String>,
}
Fields§
§l_target: Option<String>
§r_target: Option<String>
§operand: Option<String>
Trait Implementations§
source§impl Clone for Constraint
impl Clone for Constraint
source§fn clone(&self) -> Constraint
fn clone(&self) -> Constraint
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for Constraint
impl Debug for Constraint
source§impl Default for Constraint
impl Default for Constraint
source§fn default() -> Constraint
fn default() -> Constraint
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for Constraint
impl<'de> Deserialize<'de> for Constraint
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