struct McpCompactDetailedRelationRow<'a> {
depth: u32,
direction: RelationDirection,
relation: McpCompactLogicalRelation<'a>,
source: McpCompactDetailedRelationNode<'a>,
target: Option<McpCompactDetailedRelationNode<'a>>,
target_purpose: Option<&'a RelationPurpose>,
path: Option<Vec<&'a EntitySelector>>,
occurrences: Option<Vec<McpCompactRelationOccurrence<'a>>>,
occurrences_truncated: bool,
next_call: Option<&'a RelationNextCall>,
}Expand description
One compact detailed-relation row.
Fields§
§depth: u32One-based traversal depth.
direction: RelationDirectionDirection relative to the selected frontier.
relation: McpCompactLogicalRelation<'a>Typed relation facts without stable-key duplication.
source: McpCompactDetailedRelationNode<'a>Exact source selector, purpose, and coverage.
target: Option<McpCompactDetailedRelationNode<'a>>Retained local or external target when one exists.
target_purpose: Option<&'a RelationPurpose>Purpose disposition when no target node exists.
path: Option<Vec<&'a EntitySelector>>Exact selectors for a multi-hop path; direct source/target rows omit this duplicate.
occurrences: Option<Vec<McpCompactRelationOccurrence<'a>>>Exact supporting occurrences when requested.
occurrences_truncated: boolWhether the per-relation occurrence ceiling omitted rows.
next_call: Option<&'a RelationNextCall>Existing exact call that consumes the selected local endpoint.
Trait Implementations§
Source§impl<'a> Debug for McpCompactDetailedRelationRow<'a>
impl<'a> Debug for McpCompactDetailedRelationRow<'a>
Source§impl<'a> From<&'a DetailedRelationRow> for McpCompactDetailedRelationRow<'a>
impl<'a> From<&'a DetailedRelationRow> for McpCompactDetailedRelationRow<'a>
Source§fn from(row: &'a DetailedRelationRow) -> Self
fn from(row: &'a DetailedRelationRow) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'a> Freeze for McpCompactDetailedRelationRow<'a>
impl<'a> RefUnwindSafe for McpCompactDetailedRelationRow<'a>
impl<'a> Send for McpCompactDetailedRelationRow<'a>
impl<'a> Sync for McpCompactDetailedRelationRow<'a>
impl<'a> Unpin for McpCompactDetailedRelationRow<'a>
impl<'a> UnwindSafe for McpCompactDetailedRelationRow<'a>
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more