pub struct EdgeExpansionSlot {
pub slot: String,
pub direction: TraverseDirection,
pub label: String,
pub max_depth: usize,
pub endpoint_filter: Option<Predicate>,
pub edge_filter: Option<Predicate>,
}Expand description
An edge-projecting expansion slot.
Emits (EdgeRow, NodeRow) tuples per root on execution. The endpoint
node is the target on Out traversal, source on In. For
max_depth > 1, each emitted tuple reflects the final-hop edge
leading to the emitted endpoint node.
Fields§
§slot: StringSlot name used to key the expansion results. Must be unique across both node-expansion and edge-expansion slots in the same query.
direction: TraverseDirectionDirection to traverse edges.
label: StringEdge kind (label) to follow.
max_depth: usizeMaximum traversal depth.
endpoint_filter: Option<Predicate>Optional predicate filtering the endpoint node (the target side on
Out, the source side on In). Reuses the Predicate enum.
edge_filter: Option<Predicate>Optional predicate filtering the traversed edges. Only
EdgePropertyEq and EdgePropertyCompare are valid here.
Trait Implementations§
Source§impl Clone for EdgeExpansionSlot
impl Clone for EdgeExpansionSlot
Source§fn clone(&self) -> EdgeExpansionSlot
fn clone(&self) -> EdgeExpansionSlot
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 EdgeExpansionSlot
impl Debug for EdgeExpansionSlot
Source§impl PartialEq for EdgeExpansionSlot
impl PartialEq for EdgeExpansionSlot
impl Eq for EdgeExpansionSlot
impl StructuralPartialEq for EdgeExpansionSlot
Auto Trait Implementations§
impl Freeze for EdgeExpansionSlot
impl RefUnwindSafe for EdgeExpansionSlot
impl Send for EdgeExpansionSlot
impl Sync for EdgeExpansionSlot
impl Unpin for EdgeExpansionSlot
impl UnsafeUnpin for EdgeExpansionSlot
impl UnwindSafe for EdgeExpansionSlot
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