Skip to main content

unwrap_operations_envelope

Function unwrap_operations_envelope 

Source
pub fn unwrap_operations_envelope(value: &Value) -> Result<Vec<AgentMessage>>
Expand description

Reads operations back out of an envelope.

ยงErrors

Returns Error::Parse if the value is not an envelope, or Error::Json if its operations do not deserialize.