pub struct QueryStatement {
pub match_clause: Option<MatchClause>,
pub where_clause: Option<WhereClause>,
pub return_clause: ReturnClause,
pub span: Option<SourceSpan>,
}Expand description
A query statement.
Fields§
§match_clause: Option<MatchClause>Optional MATCH clause.
where_clause: Option<WhereClause>Optional WHERE clause.
return_clause: ReturnClauseRequired RETURN clause.
span: Option<SourceSpan>Source span in the original query.
Trait Implementations§
Source§impl Clone for QueryStatement
impl Clone for QueryStatement
Source§fn clone(&self) -> QueryStatement
fn clone(&self) -> QueryStatement
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for QueryStatement
impl RefUnwindSafe for QueryStatement
impl Send for QueryStatement
impl Sync for QueryStatement
impl Unpin for QueryStatement
impl UnwindSafe for QueryStatement
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