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
The _meta block of an envelope. A --format json run of the CLI always
sets telemetry.analysis_run_id. With --explain (and in each MCP
response), the block also holds the docs URL and the field, metric and
rule definitions, so that a CI system can read the metric values without
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§
Auto Trait Implementations§
impl Forget for Meta
impl Freeze for Meta
impl Move 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