pub fn parse_provider_stream_event(
params: &Value,
) -> Result<ProviderStreamEvent, String>Expand description
Parse a single provider.stream.event notification’s params value into a
ProviderStreamEvent. Returns Err(String) on malformed input.
Accepts both {"event": {"type": "...", ...}} and flat {"type": "...", ...}
shapes.