struct McpCompactDetailedRelationReport<'a> {
anchor: McpCompactDetailedRelationNode<'a>,
generation: IndexGeneration,
authored_purpose_revision: u64,
direction: RelationDirection,
returned: u32,
pruned_paths: u64,
truncated: bool,
next_call: Option<McpCompactRelationContinuationCall<'a>>,
total: &'a RelationTotalState,
reached_limits: Option<&'a [GraphLimitKind]>,
work: &'a DetailedRelationWork,
rows: Vec<McpCompactDetailedRelationRow<'a>>,
}Expand description
Opt-in compact projection of one detailed relation page.
Fields§
§anchor: McpCompactDetailedRelationNode<'a>Exact selected anchor.
generation: IndexGenerationComplete graph generation captured by the page.
Accepted authored-purpose revision captured by the page.
direction: RelationDirectionDirection followed from the anchor.
returned: u32Number of retained relation steps.
pruned_paths: u64Number of cyclic or duplicate-node paths pruned.
truncated: boolWhether a declared boundary stopped traversal.
next_call: Option<McpCompactRelationContinuationCall<'a>>Directly reusable continuation call with the exact original query and budget.
total: &'a RelationTotalStateExact, lower-bound, or unknown cardinality.
reached_limits: Option<&'a [GraphLimitKind]>Stable hard limits reached while constructing the response.
work: &'a DetailedRelationWorkAggregate page and retained-state work.
rows: Vec<McpCompactDetailedRelationRow<'a>>Ranked node-simple relation steps.
Implementations§
Source§impl<'a> McpCompactDetailedRelationReport<'a>
impl<'a> McpCompactDetailedRelationReport<'a>
Sourcefn new(
report: &'a DetailedRelationReport,
file: &'a str,
params: &'a AtlasSymbolRelationsParams,
) -> Self
fn new( report: &'a DetailedRelationReport, file: &'a str, params: &'a AtlasSymbolRelationsParams, ) -> Self
Project one detailed page and its directly reusable continuation.
Trait Implementations§
Source§impl<'a> Debug for McpCompactDetailedRelationReport<'a>
impl<'a> Debug for McpCompactDetailedRelationReport<'a>
Auto Trait Implementations§
impl<'a> Freeze for McpCompactDetailedRelationReport<'a>
impl<'a> RefUnwindSafe for McpCompactDetailedRelationReport<'a>
impl<'a> Send for McpCompactDetailedRelationReport<'a>
impl<'a> Sync for McpCompactDetailedRelationReport<'a>
impl<'a> Unpin for McpCompactDetailedRelationReport<'a>
impl<'a> UnwindSafe for McpCompactDetailedRelationReport<'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