pub enum PredicateClause<'a> {
GraphHasNodeType(&'a [String]),
GraphHasProperty {
node_type: &'a str,
prop_name: &'a str,
},
ToolRegistered(&'a str),
ExtensionEnabled(&'a str),
}Expand description
A single predicate clause, passed to a
SkillPredicateEvaluator one at a time. Borrowed slices so
the evaluator doesn’t have to allocate.
Variants§
GraphHasNodeType(&'a [String])
graph_has_node_type: [Function, Class]
GraphHasProperty
graph_has_property: { node_type: Function, prop_name: module }
ToolRegistered(&'a str)
tool_registered: cypher_query
ExtensionEnabled(&'a str)
extension_enabled: csv_http_server
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for PredicateClause<'a>
impl<'a> RefUnwindSafe for PredicateClause<'a>
impl<'a> Send for PredicateClause<'a>
impl<'a> Sync for PredicateClause<'a>
impl<'a> Unpin for PredicateClause<'a>
impl<'a> UnsafeUnpin for PredicateClause<'a>
impl<'a> UnwindSafe for PredicateClause<'a>
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