pub struct QueryAst {
pub root_kind: String,
pub steps: Vec<QueryStep>,
pub expansions: Vec<ExpansionSlot>,
pub final_limit: Option<usize>,
}Expand description
Abstract syntax tree representing a graph query.
Fields§
§root_kind: StringNode kind used as the root of the query.
steps: Vec<QueryStep>Ordered pipeline of search, traversal, and filter steps.
expansions: Vec<ExpansionSlot>Named expansion slots evaluated per root result in grouped queries.
final_limit: Option<usize>Optional hard cap on the number of result rows.
Trait Implementations§
impl Eq for QueryAst
impl StructuralPartialEq for QueryAst
Auto Trait Implementations§
impl Freeze for QueryAst
impl RefUnwindSafe for QueryAst
impl Send for QueryAst
impl Sync for QueryAst
impl Unpin for QueryAst
impl UnsafeUnpin for QueryAst
impl UnwindSafe for QueryAst
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