pub struct RankedNode {
pub node: IndexedNode,
pub reasons: Vec<String>,
pub reason_codes: Vec<RankedReasonCode>,
pub connection_counts: Vec<RankedConnectionCount>,
pub connections: Vec<RankedConnection>,
pub connections_truncated: bool,
pub next_call: NavigationNextCall,
}Expand description
A ranked node with concise evidence for why it was selected.
Fields§
§node: IndexedNodeSelected indexed node.
reasons: Vec<String>Bounded human-readable ranking signals.
reason_codes: Vec<RankedReasonCode>Bounded stable ranking signals for programmatic consumers.
connection_counts: Vec<RankedConnectionCount>Sparse stable-order connection counts.
connections: Vec<RankedConnection>Bounded high-value current connection sample.
connections_truncated: boolWhether the bounded sample omitted any validated relation through family or global overflow.
next_call: NavigationNextCallExisting navigation capability recommended after this row.
Trait Implementations§
Source§impl Clone for RankedNode
impl Clone for RankedNode
Source§fn clone(&self) -> RankedNode
fn clone(&self) -> RankedNode
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 moreSource§impl Debug for RankedNode
impl Debug for RankedNode
Source§impl<'de> Deserialize<'de> for RankedNode
impl<'de> Deserialize<'de> for RankedNode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for RankedNode
impl PartialEq for RankedNode
Source§impl Serialize for RankedNode
impl Serialize for RankedNode
impl Eq for RankedNode
impl StructuralPartialEq for RankedNode
Auto Trait Implementations§
impl Freeze for RankedNode
impl RefUnwindSafe for RankedNode
impl Send for RankedNode
impl Sync for RankedNode
impl Unpin for RankedNode
impl UnwindSafe for RankedNode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.