pub struct Query {
pub statements: Vec<QueryBody>,
pub span: Span,
}Expand description
The root of a parsed Cypher source: a list of top-level statements.
Fields§
§statements: Vec<QueryBody>The top-level statements in the source, in order.
span: SpanByte-offset span covering the entire source.
Trait Implementations§
impl StructuralPartialEq for Query
Source§impl ToCypher for Query
impl ToCypher for Query
Source§fn write_cypher(&self, w: &mut dyn Write) -> Result
fn write_cypher(&self, w: &mut dyn Write) -> Result
Write the Cypher representation of this node into
w. Read moreSource§fn display(&self) -> DisplayCypher<'_, Self>where
Self: Sized,
fn display(&self) -> DisplayCypher<'_, Self>where
Self: Sized,
Returns a wrapper that implements
fmt::Display, allowing the AST node
to be used with {} format specifiers. Read moreAuto Trait Implementations§
impl Freeze for Query
impl RefUnwindSafe for Query
impl Send for Query
impl Sync for Query
impl Unpin for Query
impl UnsafeUnpin for Query
impl UnwindSafe for Query
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