pub enum Predicate {
Show 26 variants
And(Vec<Predicate>),
Or(Vec<Predicate>),
Not(Box<Predicate>),
ConstantBool(bool),
RelationshipExists {
variable: String,
rel_type: String,
direction: RelationshipDirection,
target_label: String,
},
BoundRelationshipExists {
source_variable: String,
rel_type: String,
direction: RelationshipDirection,
target_variable: String,
},
IdEq {
variable: String,
value: Value,
},
IdNotEq {
variable: String,
value: Value,
},
IdCompare {
variable: String,
op: ComparisonOp,
value: Value,
},
IdIn {
variable: String,
values: Vec<Value>,
},
PropertyEq {
variable: String,
property: String,
value: Value,
},
PropertyNotEq {
variable: String,
property: String,
value: Value,
},
PropertyCompare {
variable: String,
property: String,
op: ComparisonOp,
value: Value,
},
ExpressionEq {
expression: ProjectionExpression,
value: ProjectionExpression,
},
ExpressionNotEq {
expression: ProjectionExpression,
value: ProjectionExpression,
},
ExpressionCompare {
expression: ProjectionExpression,
op: ComparisonOp,
value: ProjectionExpression,
},
ExpressionContains {
expression: ProjectionExpression,
value: ProjectionExpression,
},
PropertyListContains {
variable: String,
property: String,
value: Value,
},
PropertyListContainsLower {
variable: String,
property: String,
value: String,
},
PropertyContains {
variable: String,
property: String,
value: String,
},
PropertyStartsWith {
variable: String,
property: String,
value: String,
},
PropertyEndsWith {
variable: String,
property: String,
value: String,
},
PropertyRegexMatch {
variable: String,
property: String,
pattern: ValidatedRegex,
},
PropertyIsNull {
variable: String,
property: String,
},
PropertyIsNotNull {
variable: String,
property: String,
},
PropertyIn {
variable: String,
property: String,
values: Vec<Value>,
},
}Variants§
And(Vec<Predicate>)
Or(Vec<Predicate>)
Not(Box<Predicate>)
ConstantBool(bool)
RelationshipExists
BoundRelationshipExists
Fields
§
direction: RelationshipDirectionIdEq
IdNotEq
IdCompare
IdIn
PropertyEq
PropertyNotEq
PropertyCompare
ExpressionEq
ExpressionNotEq
ExpressionCompare
ExpressionContains
PropertyListContains
PropertyListContainsLower
PropertyContains
PropertyStartsWith
PropertyEndsWith
PropertyRegexMatch
PropertyIsNull
PropertyIsNotNull
PropertyIn
Trait Implementations§
impl Eq for Predicate
impl StructuralPartialEq for Predicate
Auto Trait Implementations§
impl Freeze for Predicate
impl RefUnwindSafe for Predicate
impl Send for Predicate
impl Sync for Predicate
impl Unpin for Predicate
impl UnsafeUnpin for Predicate
impl UnwindSafe for Predicate
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