Struct tokio_jsonrpc::message::Notification
[−]
[src]
pub struct Notification { pub method: String, pub params: Option<Value>, // some fields omitted }
A notification (doesn't expect an answer).
Fields
method: String
params: Option<Value>
Trait Implementations
impl Debug for Notification
[src]
impl Clone for Notification
[src]
fn clone(&self) -> Notification
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
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 !=
.