pub struct TraversalHint {
pub edge_types: Vec<String>,
pub forward: bool,
}Expand description
Hint for how to traverse a relationship in the graph.
Fields§
§edge_types: Vec<String>Edge types to follow.
forward: boolWhether to follow forward edges (from → to).
Trait Implementations§
Source§impl Clone for TraversalHint
impl Clone for TraversalHint
Source§fn clone(&self) -> TraversalHint
fn clone(&self) -> TraversalHint
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 TraversalHint
impl Debug for TraversalHint
Source§impl<'de> Deserialize<'de> for TraversalHint
impl<'de> Deserialize<'de> for TraversalHint
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TraversalHint
impl RefUnwindSafe for TraversalHint
impl Send for TraversalHint
impl Sync for TraversalHint
impl Unpin for TraversalHint
impl UnsafeUnpin for TraversalHint
impl UnwindSafe for TraversalHint
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