Skip to main content

CONTRATO_KEY_WIT

Constant CONTRATO_KEY_WIT 

Source
pub const CONTRATO_KEY_WIT: &str = "wit";
Expand description

Canonical camelCase JSON/YAML top-level key for the crate::aplicacao::WitContract struct’s wit per-entry WIT-world-reference-of-the-contract axis — the discriminator every downstream WIT-shape dispatcher ([crate::wit_shape_is_http] / [crate::wit_shape_is_pubsub] / [crate::wit_shape_is_store], the future M4 per-edge WIT registry resolver, the future mesh.pleme.io/v1alpha1/Aplicacao CR materializer’s admission-time WIT-world classification) keys off. Peer of CONTRATO_KEY_DE on the same crate::aplicacao::WitContract per-entry serialized-key axis; see CONTRATO_KEY_DE for the full lift rationale. The Rust field is lowercase wit; #[serde(rename_all = "camelCase")] is a no-op on this axis and the emitted key equals the source-side field name byte-for-byte.