pub struct GraphQuery {
pub node_patterns: Vec<NodePattern>,
pub edge_patterns: Vec<EdgePattern>,
pub conditions: Vec<QueryCondition>,
pub returns: Vec<ReturnSpec>,
pub limit: Option<usize>,
pub skip: Option<usize>,
}
Expand description
Graph query
Fields§
§node_patterns: Vec<NodePattern>
Node patterns to match
edge_patterns: Vec<EdgePattern>
Edge patterns to match
conditions: Vec<QueryCondition>
WHERE conditions
returns: Vec<ReturnSpec>
RETURN specifications
limit: Option<usize>
LIMIT clause
skip: Option<usize>
SKIP clause
Trait Implementations§
Source§impl Clone for GraphQuery
impl Clone for GraphQuery
Source§fn clone(&self) -> GraphQuery
fn clone(&self) -> GraphQuery
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 moreSource§impl Debug for GraphQuery
impl Debug for GraphQuery
Source§impl<'de> Deserialize<'de> for GraphQuery
impl<'de> Deserialize<'de> for GraphQuery
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for GraphQuery
impl RefUnwindSafe for GraphQuery
impl Send for GraphQuery
impl Sync for GraphQuery
impl Unpin for GraphQuery
impl UnwindSafe for GraphQuery
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