Struct jsonrpsee_types::request::NotificationSer
source · [−]pub struct NotificationSer<'a> {
pub jsonrpc: TwoPointZero,
pub method: &'a str,
pub params: Option<ParamsSer<'a>>,
}Expand description
Serializable JSON-RPC notification object.
Fields
jsonrpc: TwoPointZeroJSON-RPC version.
method: &'a strName of the method to be invoked.
params: Option<ParamsSer<'a>>Parameter values of the request.
Implementations
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for NotificationSer<'a>
impl<'a> Send for NotificationSer<'a>
impl<'a> Sync for NotificationSer<'a>
impl<'a> Unpin for NotificationSer<'a>
impl<'a> UnwindSafe for NotificationSer<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more