Struct jsonrpc_core::response::SubscriptionOutput
[−]
[src]
pub struct SubscriptionOutput { pub method: String, pub notification_id: Value, pub result: Result<Value, Error>, }
Response from subscription
Fields
method: String
Notification method
notification_id: Value
Id of notification
result: Result<Value, Error>
Result
Trait Implementations
impl PartialEq for SubscriptionOutput
[src]
fn eq(&self, __arg_0: &SubscriptionOutput) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &SubscriptionOutput) -> bool
This method tests for !=
.