pub struct GraphQuery { /* private fields */ }Expand description
Simple query builder for graph patterns
Implementations§
Source§impl GraphQuery
impl GraphQuery
pub fn new() -> Self
Sourcepub fn pattern_count(&self) -> usize
pub fn pattern_count(&self) -> usize
Get the number of patterns in this query
pub fn where_clause( self, subject: PatternValue, predicate: PatternValue, object: PatternValue, ) -> Self
Trait Implementations§
Source§impl Clone for GraphQuery
impl Clone for GraphQuery
Auto Trait Implementations§
impl Freeze for GraphQuery
impl RefUnwindSafe for GraphQuery
impl Send for GraphQuery
impl Sync for GraphQuery
impl Unpin for GraphQuery
impl UnsafeUnpin 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