Expand description
Verb response presentation modes and transformation.
Transforms canonical handler output into caller-appropriate form after dispatch
and before wire serialization. Agent mode abbreviates UUIDs/timestamps and drops
empty fields; Verbose and Human pass through canonical JSON unchanged.
This module also contains the OutputFormat axis (ADR-078) which governs how
the resulting serde_json::Value is serialized or rendered to an output string.
PresentationMode and OutputFormat compose independently.
Enums§
- Output
Format - Output serialization format for verb results (ADR-078).
- Presentation
Mode - How the response envelope is presented to the caller.
Functions§
- apply_
redundancy_ drop - Apply the view-only redundancy-reduction pre-pass (ADR-078 §7) to a value.
- micros_
to_ iso - Convert a microsecond epoch
i64to an RFC 3339 / ISO-8601 string. - present
- Transform a successful verb result value according to the given
PresentationMode. - render_
format - Render a successful verb result value to a wire string using the given format.