pub struct GetRepoMapMetadata {
pub tech_stack: Vec<String>,
pub files_scanned: usize,
pub files_truncated: usize,
pub files_in_scope: usize,
pub coverage_percent: u8,
pub version_hashes: HashMap<String, String>,
pub visibility_degraded: Option<bool>,
pub degraded: bool,
pub degraded_reason: Option<String>,
pub capabilities: RepoCapabilities,
}Expand description
The metadata embedded in structured_content for get_repo_map.
Fields§
§tech_stack: Vec<String>Technology stack of the repository.
files_scanned: usizeNumber of files scanned.
files_truncated: usizeNumber of files truncated.
files_in_scope: usizeNumber of files within the configured scope.
coverage_percent: u8Percentage of files covered by the search.
version_hashes: HashMap<String, String>Map of file paths to their version hashes.
visibility_degraded: Option<bool>Always true while visibility filtering is not yet implemented.
Agents should treat all symbols as public regardless of visibility param.
degraded: booltrue when filtering by changed_since fails (e.g., git is unavailable).
degraded_reason: Option<String>Reason for degradation.
capabilities: RepoCapabilitiesSystem capabilities available for this repository.
Trait Implementations§
Source§impl Debug for GetRepoMapMetadata
impl Debug for GetRepoMapMetadata
Source§impl<'de> Deserialize<'de> for GetRepoMapMetadata
impl<'de> Deserialize<'de> for GetRepoMapMetadata
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for GetRepoMapMetadata
impl JsonSchema for GetRepoMapMetadata
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 GetRepoMapMetadata
impl RefUnwindSafe for GetRepoMapMetadata
impl Send for GetRepoMapMetadata
impl Sync for GetRepoMapMetadata
impl Unpin for GetRepoMapMetadata
impl UnsafeUnpin for GetRepoMapMetadata
impl UnwindSafe for GetRepoMapMetadata
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> 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