pub struct JsonRpcNotificationParams<R> {
pub result: R,
pub subscription: u64,
}Expand description
A Structured value that holds the parameter values to be used during the invocation of the method.
Fields§
§result: RPayload
subscription: u64Identifier returned by the counterpart
Trait Implementations§
Source§impl<R: Debug> Debug for JsonRpcNotificationParams<R>
impl<R: Debug> Debug for JsonRpcNotificationParams<R>
Source§impl<'de, R> Deserialize<'de> for JsonRpcNotificationParams<R>where
R: Deserialize<'de>,
impl<'de, R> Deserialize<'de> for JsonRpcNotificationParams<R>where
R: Deserialize<'de>,
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
Auto Trait Implementations§
impl<R> Freeze for JsonRpcNotificationParams<R>where
R: Freeze,
impl<R> RefUnwindSafe for JsonRpcNotificationParams<R>where
R: RefUnwindSafe,
impl<R> Send for JsonRpcNotificationParams<R>where
R: Send,
impl<R> Sync for JsonRpcNotificationParams<R>where
R: Sync,
impl<R> Unpin for JsonRpcNotificationParams<R>where
R: Unpin,
impl<R> UnwindSafe for JsonRpcNotificationParams<R>where
R: UnwindSafe,
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