pub struct ConstraintGroup {
pub name: String,
pub checks: Vec<String>,
}Expand description
A named group of checks a relax consequence switches off (3.3.3).
Fields§
§name: String§checks: Vec<String>Non-empty check ids.
Trait Implementations§
Source§impl Clone for ConstraintGroup
impl Clone for ConstraintGroup
Source§impl Debug for ConstraintGroup
impl Debug for ConstraintGroup
Source§impl<'de> Deserialize<'de> for ConstraintGroup
impl<'de> Deserialize<'de> for ConstraintGroup
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
impl Eq for ConstraintGroup
Source§impl JsonSchema for ConstraintGroup
impl JsonSchema for ConstraintGroup
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for ConstraintGroup
impl PartialEq for ConstraintGroup
Source§impl Serialize for ConstraintGroup
impl Serialize for ConstraintGroup
impl StructuralPartialEq for ConstraintGroup
Auto Trait Implementations§
impl Freeze for ConstraintGroup
impl RefUnwindSafe for ConstraintGroup
impl Send for ConstraintGroup
impl Sync for ConstraintGroup
impl Unpin for ConstraintGroup
impl UnsafeUnpin for ConstraintGroup
impl UnwindSafe for ConstraintGroup
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