Skip to main content

declared

Function declared 

Source
pub fn declared(ty: &Value) -> String
Expand description

A canonical type reference in the authoring spelling (spec §7.2, 0.8): the message name for protobuf, json:<name> for a JSON Schema type, the media type for a raw one. A tool names a type this way wherever it renders one, decoded or not.