pub struct TraversalOptions {
pub relation: Option<String>,
pub max_depth: usize,
pub min_weight: Option<f64>,
}Expand description
Options controlling how the memory graph is traversed.
Fields§
§relation: Option<String>If set, only follow edges whose relation label matches this string.
max_depth: usizeMaximum number of hops from the anchor node.
min_weight: Option<f64>Discard edges whose weight is below this threshold.
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§fn default() -> TraversalOptions
fn default() -> TraversalOptions
Returns the “default value” for a type. Read more
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