Skip to main content

delivery_json

Function delivery_json 

Source
pub fn delivery_json(d: &SyncDelivery, peer: &str) -> Value
Expand description

Render a SyncDelivery as the JSON value wire send --json / tool_send return. Fields are flat (no nested struct) so JSON consumers can read .status + .event_id directly without pattern-matching the variant tag.