pub struct Notification {
pub jsonrpc: &'static str,
pub method: &'static str,
pub params: Value,
}Expand description
LSP server-side notification envelope (e.g. for
textDocument/publishDiagnostics).
Fields§
§jsonrpc: &'static strAlways "2.0".
method: &'static strMethod name being invoked on the client.
params: ValueMethod parameters.
Trait Implementations§
Source§impl Debug for Notification
impl Debug for Notification
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