pub struct Notification {
pub method: String,
pub params: Option<Box<RawValue>>,
}Expand description
A JSON-RPC notification.
Fields§
§method: StringMethod name.
params: Option<Box<RawValue>>Raw params, if present and not null.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Notification
impl RefUnwindSafe for Notification
impl Send for Notification
impl Sync for Notification
impl Unpin for Notification
impl UnsafeUnpin for Notification
impl UnwindSafe for Notification
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