Skip to main content

AttrPredicate

Type Alias AttrPredicate 

Source
pub type AttrPredicate = Predicate;
Expand description

Alias for Predicate (backwards compatibility).

Aliased Type§

pub struct AttrPredicate {
    pub name: String,
    pub op: Option<PredicateOp>,
    pub value: Option<PredicateValue>,
}

Fields§

§name: String

Name to test.

§op: Option<PredicateOp>

Comparison operator; None means presence-only check.

§value: Option<PredicateValue>

Typed value to compare against, if an operator is present.