Skip to main content

structured_surface_value

Function structured_surface_value 

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

Builds a package-surface value with standard human-readable metadata while preserving object fields from the concrete operation result at the top level.