pub struct ConstraintDef {
pub name: Option<String>,
pub rules: Vec<String>,
pub other: HashMap<String, Value>,
}Fields§
§name: Option<String>§rules: Vec<String>§other: HashMap<String, Value>Trait Implementations§
Source§impl Clone for ConstraintDef
impl Clone for ConstraintDef
Source§fn clone(&self) -> ConstraintDef
fn clone(&self) -> ConstraintDef
Returns a duplicate 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 ConstraintDef
impl Debug for ConstraintDef
Source§impl<'de> Deserialize<'de> for ConstraintDef
impl<'de> Deserialize<'de> for ConstraintDef
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
Source§impl PartialEq for ConstraintDef
impl PartialEq for ConstraintDef
Source§impl Serialize for ConstraintDef
impl Serialize for ConstraintDef
impl StructuralPartialEq for ConstraintDef
Auto Trait Implementations§
impl Freeze for ConstraintDef
impl RefUnwindSafe for ConstraintDef
impl Send for ConstraintDef
impl Sync for ConstraintDef
impl Unpin for ConstraintDef
impl UnwindSafe for ConstraintDef
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more