pub struct Meta {
pub docs: Option<String>,
pub telemetry: Option<TelemetryMeta>,
pub type_aware: Option<TypeAwareMeta>,
pub field_definitions: BTreeMap<String, String>,
pub metrics: BTreeMap<String, MetaMetric>,
pub rules: BTreeMap<String, MetaRule>,
}Expand description
Metric and rule definitions emitted under _meta when --explain is
passed (always present in MCP responses). Helps AI agents and CI systems
interpret metric values without re-reading the docs site.
Fields§
§docs: Option<String>URL to the documentation page for this command.
telemetry: Option<TelemetryMeta>Local telemetry correlation metadata for agent follow-up runs.
type_aware: Option<TypeAwareMeta>Provenance for the opt-in TypeScript semantic analysis pass.
field_definitions: BTreeMap<String, String>Per-field definitions for envelope fields and action payload fields.
metrics: BTreeMap<String, MetaMetric>Per-metric definitions: name, description, range, interpretation.
rules: BTreeMap<String, MetaRule>Per-rule definitions for check command output.
Trait Implementations§
Source§impl JsonSchema for Meta
impl JsonSchema for Meta
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 moreSource§impl Serialize for Meta
impl Serialize for Meta
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for Meta
impl RefUnwindSafe for Meta
impl Send for Meta
impl Sync for Meta
impl Unpin for Meta
impl UnsafeUnpin for Meta
impl UnwindSafe for Meta
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