struct McpMapReport {
root: Option<String>,
map_path: Option<String>,
written: bool,
json: bool,
format: OutputFormat,
content: String,
json_written: bool,
skipped_reason: Option<String>,
}Expand description
MCP response for the current map and optional JSON sidecar.
Fields§
§root: Option<String>Canonical project root used for map generation.
map_path: Option<String>Map path from the effective config.
written: boolLegacy TOON output is never written by this call.
json: boolWhether JSON map content and sidecar were requested.
format: OutputFormatSelected response format.
content: StringComplete selected-format map content.
json_written: boolWhether the adjacent JSON sidecar was written.
skipped_reason: Option<String>Human-readable reason when a requested sidecar was not written.
Trait Implementations§
Source§impl Debug for McpMapReport
impl Debug for McpMapReport
Auto Trait Implementations§
impl Freeze for McpMapReport
impl RefUnwindSafe for McpMapReport
impl Send for McpMapReport
impl Sync for McpMapReport
impl Unpin for McpMapReport
impl UnsafeUnpin for McpMapReport
impl UnwindSafe for McpMapReport
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<'a, T> FromIn<'a, T> for T
impl<'a, T> FromIn<'a, T> for T
§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