pub struct ParsedQuery {
pub find_spec: FindSpec,
pub default_source: SrcVar,
pub with: Vec<Variable>,
pub in_bindings: Vec<Binding>,
pub in_sources: BTreeSet<SrcVar>,
pub limit: Limit,
pub where_clauses: Vec<WhereClause>,
pub order: Option<Vec<Order>>,
}Fields§
§find_spec: FindSpec§default_source: SrcVar§with: Vec<Variable>§in_bindings: Vec<Binding>§in_sources: BTreeSet<SrcVar>§limit: Limit§where_clauses: Vec<WhereClause>§order: Option<Vec<Order>>Implementations§
Source§impl ParsedQuery
A ParsedQuery represents a parsed but potentially invalid query to the query algebrizer.
Such a query is syntactically valid but might be semantically invalid, for example because
constraints on the set of variables are not respected.
impl ParsedQuery
A ParsedQuery represents a parsed but potentially invalid query to the query algebrizer.
Such a query is syntactically valid but might be semantically invalid, for example because
constraints on the set of variables are not respected.
We split ParsedQuery from FindQuery because it’s not easy to generalize over containers
(here, Vec and BTreeSet) in Rust.
Trait Implementations§
Source§impl Clone for ParsedQuery
impl Clone for ParsedQuery
Source§fn clone(&self) -> ParsedQuery
fn clone(&self) -> ParsedQuery
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ParsedQuery
impl Debug for ParsedQuery
Source§impl Display for ParsedQuery
impl Display for ParsedQuery
impl Eq for ParsedQuery
Source§impl FromStr for ParsedQuery
impl FromStr for ParsedQuery
Source§impl PartialEq for ParsedQuery
impl PartialEq for ParsedQuery
Source§fn eq(&self, other: &ParsedQuery) -> bool
fn eq(&self, other: &ParsedQuery) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ParsedQuery
Auto Trait Implementations§
impl Freeze for ParsedQuery
impl RefUnwindSafe for ParsedQuery
impl Send for ParsedQuery
impl Sync for ParsedQuery
impl Unpin for ParsedQuery
impl UnsafeUnpin for ParsedQuery
impl UnwindSafe for ParsedQuery
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