pub struct OutlineOutput {
pub mode: String,
pub files_shown: usize,
pub files: Vec<OutlineFile>,
pub truncated: bool,
pub next_cursor: Option<String>,
pub snapshot_hash: Option<String>,
pub files_scanned: usize,
pub payload_bytes: usize,
pub file_extension: Option<String>,
pub language_supported: Option<bool>,
pub fallback: Option<CodeMapFallback>,
}Expand description
Structured result of an Outline call (mirrors the text block).
Fields§
§mode: Stringfile for a single-file outline, repo for a workspace symbol map.
files_shown: usizeNumber of files included in files.
files: Vec<OutlineFile>Per-file symbol lists.
truncated: boolTrue if the symbol map was capped (more files or symbols exist).
next_cursor: Option<String>Opaque continuation for the next ranked directory-map page.
snapshot_hash: Option<String>Stable fingerprint of the ranked directory snapshot behind the cursor.
files_scanned: usizeNumber of candidate files inspected while producing this page.
payload_bytes: usizeCombined bytes of the human-readable map and its structured navigation payload, before the small shared MCP result envelope is added.
file_extension: Option<String>Lowercase source extension in single-file mode.
language_supported: Option<bool>Whether Winx has a native tags query for the single-file language.
fallback: Option<CodeMapFallback>Exact-source recovery for an unsupported or unavailable parser.
Trait Implementations§
Source§impl Clone for OutlineOutput
impl Clone for OutlineOutput
Source§impl Debug for OutlineOutput
impl Debug for OutlineOutput
Source§impl JsonSchema for OutlineOutput
impl JsonSchema for OutlineOutput
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for OutlineOutput
impl RefUnwindSafe for OutlineOutput
impl Send for OutlineOutput
impl Sync for OutlineOutput
impl Unpin for OutlineOutput
impl UnsafeUnpin for OutlineOutput
impl UnwindSafe for OutlineOutput
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,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
impl<T> ErasedDestructor for Twhere
T: 'static,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§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