pub struct JsonRpcNotification {
pub jsonrpc: String,
pub method: String,
pub params: Option<Value>,
}
Expand description
JSON-RPC notification message
Fieldsยง
ยงjsonrpc: String
JSON-RPC version (always โ2.0โ)
method: String
Method name being called
params: Option<Value>
Method parameters
Implementationsยง
Trait Implementationsยง
Sourceยงimpl Clone for JsonRpcNotification
impl Clone for JsonRpcNotification
Sourceยงfn clone(&self) -> JsonRpcNotification
fn clone(&self) -> JsonRpcNotification
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 JsonRpcNotification
impl Debug for JsonRpcNotification
Sourceยงimpl<'de> Deserialize<'de> for JsonRpcNotification
impl<'de> Deserialize<'de> for JsonRpcNotification
Sourceยงfn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Sourceยงimpl PartialEq for JsonRpcNotification
impl PartialEq for JsonRpcNotification
Sourceยงimpl Serialize for JsonRpcNotification
impl Serialize for JsonRpcNotification
impl StructuralPartialEq for JsonRpcNotification
Auto Trait Implementationsยง
impl Freeze for JsonRpcNotification
impl RefUnwindSafe for JsonRpcNotification
impl Send for JsonRpcNotification
impl Sync for JsonRpcNotification
impl Unpin for JsonRpcNotification
impl UnwindSafe for JsonRpcNotification
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