pub struct GraphOptions {
pub depth: Option<u32>,
pub types: Option<Vec<EdgeType>>,
}Expand description
Options for [DakeraClient::memory_graph].
Fields§
§depth: Option<u32>Maximum traversal depth (default: 1, max: 3).
types: Option<Vec<EdgeType>>Filter by edge types. None returns all types.
Implementations§
Trait Implementations§
Source§impl Clone for GraphOptions
impl Clone for GraphOptions
Source§fn clone(&self) -> GraphOptions
fn clone(&self) -> GraphOptions
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 GraphOptions
impl Debug for GraphOptions
Source§impl Default for GraphOptions
impl Default for GraphOptions
Source§fn default() -> GraphOptions
fn default() -> GraphOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GraphOptions
impl RefUnwindSafe for GraphOptions
impl Send for GraphOptions
impl Sync for GraphOptions
impl Unpin for GraphOptions
impl UnsafeUnpin for GraphOptions
impl UnwindSafe for GraphOptions
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