pub struct ExpansionSlot {
pub slot: String,
pub direction: TraverseDirection,
pub label: String,
pub max_depth: usize,
pub filter: Option<Predicate>,
pub edge_filter: Option<Predicate>,
}Expand description
A named expansion slot that traverses edges per root result.
Fields§
§slot: StringSlot name used to key the expansion results.
direction: TraverseDirectionDirection to traverse edges.
label: StringEdge kind (label) to follow.
max_depth: usizeMaximum traversal depth.
filter: Option<Predicate>Optional predicate to filter target nodes in this expansion slot.
None is exactly equivalent to pre-Pack-2 behavior.
Some(_) is not yet implemented; see Pack 3.
edge_filter: Option<Predicate>Optional predicate to filter the traversed edges in this expansion slot.
Only EdgePropertyEq and EdgePropertyCompare are valid here.
None preserves pre-Pack-D behavior (no edge filtering).
Trait Implementations§
Source§impl Clone for ExpansionSlot
impl Clone for ExpansionSlot
Source§fn clone(&self) -> ExpansionSlot
fn clone(&self) -> ExpansionSlot
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 ExpansionSlot
impl Debug for ExpansionSlot
Source§impl PartialEq for ExpansionSlot
impl PartialEq for ExpansionSlot
impl Eq for ExpansionSlot
impl StructuralPartialEq for ExpansionSlot
Auto Trait Implementations§
impl Freeze for ExpansionSlot
impl RefUnwindSafe for ExpansionSlot
impl Send for ExpansionSlot
impl Sync for ExpansionSlot
impl Unpin for ExpansionSlot
impl UnsafeUnpin for ExpansionSlot
impl UnwindSafe for ExpansionSlot
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