use crate::codec::protocol::JsonRpcNotificationParams;
use alloc::boxed::Box;
#[cfg_attr(feature = "serde", derive(serde::Deserialize))]
#[derive(Debug)]
pub struct JsonRpcNotification<R> {
pub method: Option<Box<str>>,
pub params: JsonRpcNotificationParams<R>,
}