Skip to main content

CATCH_ALL_MARKERS

Constant CATCH_ALL_MARKERS 

Source
const CATCH_ALL_MARKERS: &[&str];
Expand description

Serialised forms of the catch-all variants that stand in for a wire value the decoder does not model (#[serde(other)]).

"other" is not defensive padding. Seven of the eight reachable catch-alls are unit variants that serialise to a bare "unknown"; WorkflowProgressEvent::Other is internally tagged and serialises to {"type":"other"}, so what changes is the nested type key, which exists on both sides and is reached through the object walk.