pub struct GraphPathResponse {
pub from_id: String,
pub to_id: String,
pub path: Vec<String>,
pub hop_count: usize,
}Expand description
Response from shortest-path query.
Fields§
§from_id: String§to_id: String§path: Vec<String>Ordered list of memory IDs along the shortest path (inclusive).
hop_count: usizeTrait Implementations§
Source§impl Debug for GraphPathResponse
impl Debug for GraphPathResponse
Auto Trait Implementations§
impl Freeze for GraphPathResponse
impl RefUnwindSafe for GraphPathResponse
impl Send for GraphPathResponse
impl Sync for GraphPathResponse
impl Unpin for GraphPathResponse
impl UnsafeUnpin for GraphPathResponse
impl UnwindSafe for GraphPathResponse
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