pub struct TraverseOptions {
pub direction: Option<GraphDirection>,
pub label: Option<String>,
pub max_depth: Option<usize>,
pub limit: Option<usize>,
}Expand description
What Client::graph_traverse should walk. The default walks outgoing
edges of every label to the server’s default depth and node limit.
Fields§
§direction: Option<GraphDirection>Which edges to follow.
label: Option<String>Keep only edges with this label.
max_depth: Option<usize>Bound the hop count. The server’s default is 3 and it clamps above 10.
limit: Option<usize>Cap the nodes returned. The server’s default is 100, clamped to 1000.
Trait Implementations§
Source§impl Clone for TraverseOptions
impl Clone for TraverseOptions
Source§impl Debug for TraverseOptions
impl Debug for TraverseOptions
Source§impl Default for TraverseOptions
impl Default for TraverseOptions
impl Eq for TraverseOptions
Source§impl PartialEq for TraverseOptions
impl PartialEq for TraverseOptions
impl StructuralPartialEq for TraverseOptions
Auto Trait Implementations§
impl Freeze for TraverseOptions
impl RefUnwindSafe for TraverseOptions
impl Send for TraverseOptions
impl Sync for TraverseOptions
impl Unpin for TraverseOptions
impl UnsafeUnpin for TraverseOptions
impl UnwindSafe for TraverseOptions
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