pub struct TraversalOptions {
pub max_depth: usize,
pub direction: TraversalDirection,
pub limit: usize,
pub include_start: bool,
}Expand description
Fields§
§max_depth: usizeMaximum hop depth to traverse from any seed.
direction: TraversalDirectionDirection used to expand each frontier element.
limit: usizeMaximum number of rows to emit.
include_start: boolWhether depth-0 seed elements are included in the result rows.
Trait Implementations§
Source§impl Clone for TraversalOptions
impl Clone for TraversalOptions
Source§fn clone(&self) -> TraversalOptions
fn clone(&self) -> TraversalOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TraversalOptions
impl Debug for TraversalOptions
Source§impl Default for TraversalOptions
impl Default for TraversalOptions
Source§impl PartialEq for TraversalOptions
impl PartialEq for TraversalOptions
Source§fn eq(&self, other: &TraversalOptions) -> bool
fn eq(&self, other: &TraversalOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for TraversalOptions
impl Eq for TraversalOptions
impl StructuralPartialEq for TraversalOptions
Auto Trait Implementations§
impl Freeze for TraversalOptions
impl RefUnwindSafe for TraversalOptions
impl Send for TraversalOptions
impl Sync for TraversalOptions
impl Unpin for TraversalOptions
impl UnsafeUnpin for TraversalOptions
impl UnwindSafe for TraversalOptions
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