pub struct SingleQuery {
pub clauses: Vec<Clause>,
}Fields§
§clauses: Vec<Clause>Implementations§
Source§impl SingleQuery
impl SingleQuery
Sourcepub fn leading_importing_with(&self) -> Option<LeadingWith<'_>>
pub fn leading_importing_with(&self) -> Option<LeadingWith<'_>>
The clause a CALL subquery body opens with, when it is an
importing WITH: the first non-USE clause, and only if it is an
explicit WITH (LET/FILTER desugar to With but are ordinary
projections, never importing WITHs). One derivation for both the
planner’s 42I28 rule and the notification layer’s import-set
analysis; the typed payload saves every caller re-discriminating the
clause variant.
Sourcepub fn leading_imports(&self, outer: &BTreeSet<String>) -> BTreeSet<String>
pub fn leading_imports(&self, outer: &BTreeSet<String>) -> BTreeSet<String>
The names this part’s importing WITH pulls in from outer — the
plain-WITH half of LeadingWith::imports, BTreeSet::new when
the part has none. One import policy (LeadingWith::imports), one
spelling of “this part has an importing WITH at all”.
Trait Implementations§
Source§impl Clone for SingleQuery
impl Clone for SingleQuery
Source§impl Debug for SingleQuery
impl Debug for SingleQuery
Source§impl PartialEq for SingleQuery
impl PartialEq for SingleQuery
impl StructuralPartialEq for SingleQuery
Auto Trait Implementations§
impl Forget for SingleQuery
impl Freeze for SingleQuery
impl Move for SingleQuery
impl RefUnwindSafe for SingleQuery
impl Send for SingleQuerywhere
RawVecInner: Send,
BoxRaw<Clause>: Send,
Arc<str>: Send,
BoxRaw<Expr>: Send,
BoxRaw<LabelExpr>: Send,
Arc<Vec<Value>>: Send,
Arc<BTreeMap<String, Value>>: Send,
Arc<Node>: Send,
Arc<Relationship>: Send,
Arc<Path>: Send,
NonZero<i32>: Send,
BoxRaw<CivilZonedFields>: Send,
Arc<[f32]>: Send,
Arc<[f64]>: Send,
Arc<[i64]>: Send,
Arc<[u8]>: Send,
BoxRaw<TypeExpr>: Send,
BoxRaw<Query>: Send,
BoxRaw<SearchClause>: Send,
impl Sync for SingleQuerywhere
RawVecInner: Sync,
BoxRaw<Clause>: Sync,
Arc<str>: Sync,
BoxRaw<Expr>: Sync,
BoxRaw<LabelExpr>: Sync,
Arc<Vec<Value>>: Sync,
Arc<BTreeMap<String, Value>>: Sync,
Arc<Node>: Sync,
Arc<Relationship>: Sync,
Arc<Path>: Sync,
NonZero<i32>: Sync,
BoxRaw<CivilZonedFields>: Sync,
Arc<[f32]>: Sync,
Arc<[f64]>: Sync,
Arc<[i64]>: Sync,
Arc<[u8]>: Sync,
BoxRaw<TypeExpr>: Sync,
BoxRaw<Query>: Sync,
BoxRaw<SearchClause>: Sync,
impl Unpin for SingleQuerywhere
*const u8 is !null: Unpin,
Box<Clause>: Unpin,
Arc<str>: Unpin,
Box<Expr>: Unpin,
Box<LabelExpr>: Unpin,
Arc<Vec<Value>>: Unpin,
Arc<BTreeMap<String, Value>>: Unpin,
Arc<Node>: Unpin,
Arc<Relationship>: Unpin,
Arc<Path>: Unpin,
NonZero<i32>: Unpin,
Box<CivilZonedFields>: Unpin,
Arc<[f32]>: Unpin,
Arc<[f64]>: Unpin,
Arc<[i64]>: Unpin,
Arc<[u8]>: Unpin,
Box<TypeExpr>: Unpin,
Box<Query>: Unpin,
Box<SearchClause>: Unpin,
impl UnsafeUnpin for SingleQuery
impl UnwindSafe for SingleQuerywhere
RawVecInner: UnwindSafe,
BoxRaw<Clause>: UnwindSafe,
Arc<str>: UnwindSafe,
BoxRaw<Expr>: UnwindSafe,
BoxRaw<LabelExpr>: UnwindSafe,
Arc<Vec<Value>>: UnwindSafe,
Arc<BTreeMap<String, Value>>: UnwindSafe,
Arc<Node>: UnwindSafe,
Arc<Relationship>: UnwindSafe,
Arc<Path>: UnwindSafe,
NonZero<i32>: UnwindSafe,
BoxRaw<CivilZonedFields>: UnwindSafe,
Arc<[f32]>: UnwindSafe,
Arc<[f64]>: UnwindSafe,
Arc<[i64]>: UnwindSafe,
Arc<[u8]>: UnwindSafe,
BoxRaw<TypeExpr>: UnwindSafe,
BoxRaw<Query>: UnwindSafe,
BoxRaw<SearchClause>: UnwindSafe,
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