pub struct RpcNotification {
pub jsonrpc: String,
pub method: String,
pub params: Option<Value>,
}Expand description
JSON-RPC 2.0 notification (server → client, no id)
Fields§
§jsonrpc: String§method: String§params: Option<Value>Implementations§
Trait Implementations§
Source§impl Clone for RpcNotification
impl Clone for RpcNotification
Source§fn clone(&self) -> RpcNotification
fn clone(&self) -> RpcNotification
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RpcNotification
impl Debug for RpcNotification
Auto Trait Implementations§
impl Freeze for RpcNotification
impl RefUnwindSafe for RpcNotification
impl Send for RpcNotification
impl Sync for RpcNotification
impl Unpin for RpcNotification
impl UnwindSafe for RpcNotification
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more