Skip to main content

WIRE_DISCRIMINANT

Constant WIRE_DISCRIMINANT 

Source
pub const WIRE_DISCRIMINANT: &str = "kind";
Expand description

#1969: the JSON key a sum value’s variant name travels under ({"kind": "Circle", …}). Part of the published wire format, version 1 (crate::wire_format); the in-memory discriminant is tag.