pub struct PropertyRequired;Expand description
Requires an exactly resolved property to contain a non-empty semantic value.
Exact absence, null, and blank text are violations. Other exact typed
values satisfy the requirement; adapter failures remain not-evaluated.
Trait Implementations§
Source§impl RuleCapability for PropertyRequired
impl RuleCapability for PropertyRequired
Source§fn parameters(&self) -> Vec<ParameterDescriptor>
fn parameters(&self) -> Vec<ParameterDescriptor>
Strict accepted parameters.
Source§fn evaluate(
&self,
context: &RuleContext<'_>,
rule: &CompiledRule,
) -> CapabilityEvaluation
fn evaluate( &self, context: &RuleContext<'_>, rule: &CompiledRule, ) -> CapabilityEvaluation
Evaluates an already-validated rule request.
Auto Trait Implementations§
impl Freeze for PropertyRequired
impl RefUnwindSafe for PropertyRequired
impl Send for PropertyRequired
impl Sync for PropertyRequired
impl Unpin for PropertyRequired
impl UnwindSafe for PropertyRequired
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