pub trait ConstraintNodeTrait {
// Required methods
fn get_constraint_property(&self) -> &[ConstraintPropertyProperty];
fn take_constraint_property(&mut self) -> Vec<ConstraintPropertyProperty>;
fn get_num_constraints(&self) -> &[NumConstraintsProperty];
fn take_num_constraints(&mut self) -> Vec<NumConstraintsProperty>;
}
Expand description
This trait is for properties from https://schema.org/ConstraintNode.
Required Methods§
sourcefn get_constraint_property(&self) -> &[ConstraintPropertyProperty]
fn get_constraint_property(&self) -> &[ConstraintPropertyProperty]
Get https://schema.org/constraintProperty from Self
as borrowed slice.
sourcefn take_constraint_property(&mut self) -> Vec<ConstraintPropertyProperty>
fn take_constraint_property(&mut self) -> Vec<ConstraintPropertyProperty>
Take https://schema.org/constraintProperty from Self
as owned vector.
sourcefn get_num_constraints(&self) -> &[NumConstraintsProperty]
fn get_num_constraints(&self) -> &[NumConstraintsProperty]
Get https://schema.org/numConstraints from Self
as borrowed slice.
sourcefn take_num_constraints(&mut self) -> Vec<NumConstraintsProperty>
fn take_num_constraints(&mut self) -> Vec<NumConstraintsProperty>
Take https://schema.org/numConstraints from Self
as owned vector.