pub struct RuleInvocation {
pub name: PlainSymbol,
pub args: Vec<FnArg>,
}Expand description
A rule invocation in a query, e.g., (ancestor ?person ?ancestor).
Ported from pg_mentat to support named and recursive rules.
Fields§
§name: PlainSymbol§args: Vec<FnArg>Trait Implementations§
Source§impl Clone for RuleInvocation
impl Clone for RuleInvocation
Source§impl Debug for RuleInvocation
impl Debug for RuleInvocation
impl Eq for RuleInvocation
Source§impl PartialEq for RuleInvocation
impl PartialEq for RuleInvocation
impl StructuralPartialEq for RuleInvocation
Auto Trait Implementations§
impl !Send for RuleInvocation
impl !Sync for RuleInvocation
impl Freeze for RuleInvocation
impl RefUnwindSafe for RuleInvocation
impl Unpin for RuleInvocation
impl UnsafeUnpin for RuleInvocation
impl UnwindSafe for RuleInvocation
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more