pub struct JSONRPCNotification {
pub jsonrpc: MustBeStr<(char<'2'>, char<'.'>, char<'0'>)>,
pub method: String,
pub params: Option<JsonrpcNotificationParams>,
pub extra: Map<String, Value>,
}
Expand description
A notification which does not expect a response.
Fields§
§jsonrpc: MustBeStr<(char<'2'>, char<'.'>, char<'0'>)>
§method: String
§params: Option<JsonrpcNotificationParams>
§extra: Map<String, Value>
Additional parameters that are not part of the schema.
Trait Implementations§
Source§impl Clone for JSONRPCNotification
impl Clone for JSONRPCNotification
Source§fn clone(&self) -> JSONRPCNotification
fn clone(&self) -> JSONRPCNotification
Returns a copy 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