Skip to main content

ensure_structured_surface_value

Function ensure_structured_surface_value 

Source
pub fn ensure_structured_surface_value(
    operation: &OperationId,
    title: impl Into<String>,
    message: impl Into<String>,
    value: Value,
) -> Value
Expand description

Adds the common package-surface UI fields to a result value when they are missing, while preserving every existing top-level domain field.