#[non_exhaustive]pub enum ParsedQuery {
MatchNode {
alias: String,
label: Option<String>,
where_clause: Option<WhereClause>,
return_items: Vec<ReturnItem>,
},
MatchRelationship {
from: NodePattern,
rel: RelPattern,
to: NodePattern,
return_items: Vec<ReturnItem>,
},
CreateNode {
alias: String,
label: String,
properties: Vec<(String, String)>,
},
MergeNode {
alias: String,
label: String,
properties: Vec<(String, String)>,
},
Delete {
alias: String,
},
Set {
alias: String,
prop: String,
param_name: String,
},
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
MatchNode
MatchRelationship
CreateNode
MergeNode
Delete
Set
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 moreAuto 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