pub struct SemanticPath {
pub nodes: Vec<String>,
pub semantic_score: f32,
pub path_length: usize,
pub edge_types: Vec<String>,
}Expand description
Semantic path between nodes
Fields§
§nodes: Vec<String>Node IDs in the path
semantic_score: f32Semantic score of the path
path_length: usizePath length (number of edges)
edge_types: Vec<String>Edge types in the path
Trait Implementations§
Source§impl Clone for SemanticPath
impl Clone for SemanticPath
Source§fn clone(&self) -> SemanticPath
fn clone(&self) -> SemanticPath
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 SemanticPath
impl RefUnwindSafe for SemanticPath
impl Send for SemanticPath
impl Sync for SemanticPath
impl Unpin for SemanticPath
impl UnwindSafe for SemanticPath
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