pub struct Traversal {
pub start: VertexId,
pub edge_label: Option<String>,
pub max_depth: u32,
pub direction: TraversalDirection,
}Expand description
High-level traversal specification.
Fields§
§start: VertexIdStarting vertex ID.
edge_label: Option<String>Edge label to follow (None = any).
max_depth: u32Maximum depth / hops.
direction: TraversalDirectionDirection in which to traverse edges.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Traversal
impl<'de> Deserialize<'de> for Traversal
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 Traversal
impl RefUnwindSafe for Traversal
impl Send for Traversal
impl Sync for Traversal
impl Unpin for Traversal
impl UnsafeUnpin for Traversal
impl UnwindSafe for Traversal
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