Skip to main content

render_human_with_registry_selected

Function render_human_with_registry_selected 

Source
pub fn render_human_with_registry_selected(
    envelope: &Envelope,
    registry: &HumanViewRegistry,
    schema_id: &str,
    fields: &str,
) -> String
Expand description

Renders an envelope using a registered view, narrowed to fields.

fields uses the same comma-separated syntax as --fields: an empty string, all, or * keeps every column; otherwise only the view columns whose field is listed are shown. A custom view renderer receives the full data and ignores fields.