pub struct JoinQuery {
pub head: Predicate,
pub body: Vec<Predicate>,
}Expand description
A parsed Datalog join query of the form Head :- Body1, Body2, ... .
For example: path(X, Z) :- edge(X, Y), edge(Y, Z).
Implements FromStr for parsing from a string.
Fields§
§head: PredicateThe head predicate defining the output schema.
body: Vec<Predicate>The body predicates to be joined.
Trait Implementations§
impl Eq for JoinQuery
impl StructuralPartialEq for JoinQuery
Auto Trait Implementations§
impl Freeze for JoinQuery
impl RefUnwindSafe for JoinQuery
impl Send for JoinQuery
impl Sync for JoinQuery
impl Unpin for JoinQuery
impl UnsafeUnpin for JoinQuery
impl UnwindSafe for JoinQuery
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