pub struct EdgeExpansionBuilder { /* private fields */ }Expand description
Chained builder for an edge-projecting expansion slot. Returned by
QueryBuilder::traverse_edges; call Self::done to append the
slot to the parent QueryBuilder and resume chaining.
Implementations§
Source§impl EdgeExpansionBuilder
impl EdgeExpansionBuilder
Sourcepub fn edge_filter(self, predicate: Predicate) -> Self
pub fn edge_filter(self, predicate: Predicate) -> Self
Attach an edge-property predicate. Only EdgePropertyEq and
EdgePropertyCompare are valid here; other variants are accepted
by the AST but will be rejected downstream during edge-expansion
compilation.
Sourcepub fn endpoint_filter(self, predicate: Predicate) -> Self
pub fn endpoint_filter(self, predicate: Predicate) -> Self
Attach an endpoint-node predicate (applied to the target node on
Out traversal, source node on In).
Sourcepub fn done(self) -> QueryBuilder
pub fn done(self) -> QueryBuilder
Finalize the edge-expansion slot and return the parent
QueryBuilder for further chaining.
Trait Implementations§
Source§impl Clone for EdgeExpansionBuilder
impl Clone for EdgeExpansionBuilder
Source§fn clone(&self) -> EdgeExpansionBuilder
fn clone(&self) -> EdgeExpansionBuilder
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 EdgeExpansionBuilder
impl Debug for EdgeExpansionBuilder
Source§impl PartialEq for EdgeExpansionBuilder
impl PartialEq for EdgeExpansionBuilder
impl Eq for EdgeExpansionBuilder
impl StructuralPartialEq for EdgeExpansionBuilder
Auto Trait Implementations§
impl Freeze for EdgeExpansionBuilder
impl RefUnwindSafe for EdgeExpansionBuilder
impl Send for EdgeExpansionBuilder
impl Sync for EdgeExpansionBuilder
impl Unpin for EdgeExpansionBuilder
impl UnsafeUnpin for EdgeExpansionBuilder
impl UnwindSafe for EdgeExpansionBuilder
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