pub struct CategoryPath {
pub steps: Vec<CategoryPathStep>,
pub total_distance: f64,
}Expand description
Result of a category-level concept path query.
Fields§
§steps: Vec<CategoryPathStep>Ordered steps from source to target category.
total_distance: f64Total path distance.
Trait Implementations§
Source§impl Clone for CategoryPath
impl Clone for CategoryPath
Source§fn clone(&self) -> CategoryPath
fn clone(&self) -> CategoryPath
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 moreAuto Trait Implementations§
impl Freeze for CategoryPath
impl RefUnwindSafe for CategoryPath
impl Send for CategoryPath
impl Sync for CategoryPath
impl Unpin for CategoryPath
impl UnsafeUnpin for CategoryPath
impl UnwindSafe for CategoryPath
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