Struct jsonrpc_core::types::request::Notification
[−]
[src]
pub struct Notification { pub jsonrpc: Option<Version>, pub method: String, pub params: Option<Params>, }
Represents jsonrpc request which is a notification.
Fields
jsonrpc: Option<Version>
A String specifying the version of the JSON-RPC protocol.
method: String
A String containing the name of the method to be invoked.
params: Option<Params>
A Structured value that holds the parameter values to be used during the invocation of the method. This member MAY be omitted.
Trait Implementations
impl Debug for Notification
[src]
impl PartialEq for Notification
[src]
fn eq(&self, __arg_0: &Notification) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Notification) -> bool
This method tests for !=
.