pub struct TraversalParams {
pub start_id: u64,
pub edge_types: Vec<EdgeType>,
pub direction: TraversalDirection,
pub max_depth: u32,
pub max_results: usize,
pub min_confidence: f32,
}Expand description
Parameters for a traversal query.
Fields§
§start_id: u64Starting node ID.
edge_types: Vec<EdgeType>Which edge types to follow.
direction: TraversalDirectionDirection of traversal.
max_depth: u32Maximum depth (number of hops).
max_results: usizeMaximum number of nodes to return.
min_confidence: f32Minimum confidence threshold for visited nodes.
Auto Trait Implementations§
impl Freeze for TraversalParams
impl RefUnwindSafe for TraversalParams
impl Send for TraversalParams
impl Sync for TraversalParams
impl Unpin for TraversalParams
impl UnsafeUnpin for TraversalParams
impl UnwindSafe for TraversalParams
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