pub struct CausalSearchResultEntry {
pub node_id: u32,
pub score: f32,
pub entity_id: u64,
pub successors: Vec<(u32, i64)>,
pub predecessors: Vec<(u32, i64)>,
}Expand description
A causal search result with temporal context.
Fields§
§node_id: u32Node ID.
score: f32Distance score.
entity_id: u64Entity ID.
successors: Vec<(u32, i64)>Temporal successors: (node_id, timestamp).
predecessors: Vec<(u32, i64)>Temporal predecessors: (node_id, timestamp).
Trait Implementations§
Source§impl Clone for CausalSearchResultEntry
impl Clone for CausalSearchResultEntry
Source§fn clone(&self) -> CausalSearchResultEntry
fn clone(&self) -> CausalSearchResultEntry
Returns a copy 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 CausalSearchResultEntry
impl RefUnwindSafe for CausalSearchResultEntry
impl Send for CausalSearchResultEntry
impl Sync for CausalSearchResultEntry
impl Unpin for CausalSearchResultEntry
impl UnwindSafe for CausalSearchResultEntry
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