pub struct CodeMapStructuredOutput {Show 18 fields
pub truncated: bool,
pub next_cursor: Option<String>,
pub snapshot_hash: Option<String>,
pub files_scanned: Option<usize>,
pub payload_bytes: Option<usize>,
pub source_kind: Option<String>,
pub canonical: Option<bool>,
pub temporary_helper_budget: Option<CodeMapTemporaryHelperBudget>,
pub mode: Option<String>,
pub files_shown: Option<usize>,
pub files: Option<Vec<OutlineFile>>,
pub file_extension: Option<String>,
pub language_supported: Option<bool>,
pub fallback: Option<CodeMapFallback>,
pub name: Option<String>,
pub definitions: Option<usize>,
pub references: Option<usize>,
pub hits: Option<Vec<ReferenceHit>>,
}Expand description
JSON Schema advertised for CodeMap.structuredContent.
CodeMap has two operations with different payloads. Their shared
truncated field is required; operation-specific fields are optional so the
single object schema accepts both the outline and references result shapes.
Fields§
§truncated: bool§next_cursor: Option<String>§snapshot_hash: Option<String>§files_scanned: Option<usize>§payload_bytes: Option<usize>§source_kind: Option<String>§canonical: Option<bool>§temporary_helper_budget: Option<CodeMapTemporaryHelperBudget>§mode: Option<String>§files_shown: Option<usize>§files: Option<Vec<OutlineFile>>§file_extension: Option<String>§language_supported: Option<bool>§fallback: Option<CodeMapFallback>§name: Option<String>§definitions: Option<usize>§references: Option<usize>§hits: Option<Vec<ReferenceHit>>Trait Implementations§
Source§impl Clone for CodeMapStructuredOutput
impl Clone for CodeMapStructuredOutput
Source§impl Debug for CodeMapStructuredOutput
impl Debug for CodeMapStructuredOutput
Source§impl JsonSchema for CodeMapStructuredOutput
impl JsonSchema for CodeMapStructuredOutput
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 CodeMapStructuredOutput
impl RefUnwindSafe for CodeMapStructuredOutput
impl Send for CodeMapStructuredOutput
impl Sync for CodeMapStructuredOutput
impl Unpin for CodeMapStructuredOutput
impl UnsafeUnpin for CodeMapStructuredOutput
impl UnwindSafe for CodeMapStructuredOutput
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