pub struct ShortestPathParams {
pub source_id: u64,
pub target_id: u64,
pub edge_types: Vec<EdgeType>,
pub direction: TraversalDirection,
pub max_depth: u32,
pub weighted: bool,
}Expand description
Parameters for shortest path query.
Fields§
§source_id: u64§target_id: u64§edge_types: Vec<EdgeType>§direction: TraversalDirection§max_depth: u32§weighted: boolAuto Trait Implementations§
impl Freeze for ShortestPathParams
impl RefUnwindSafe for ShortestPathParams
impl Send for ShortestPathParams
impl Sync for ShortestPathParams
impl Unpin for ShortestPathParams
impl UnsafeUnpin for ShortestPathParams
impl UnwindSafe for ShortestPathParams
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