pub struct LSPNotification<'a, T> {
pub jsonrpc: &'static str,
pub method: &'a str,
pub params: T,
}
Expand description
Implementation of LSP Notification Message Notification Message
jsonrpc
: jsonrpc version, see JSON_RPC_VERSIONmethod
: Notification Methodparams
: Notification Parameters
Fields§
§jsonrpc: &'static str
§method: &'a str
§params: T
Trait Implementations§
Source§impl<'a, T: Clone> Clone for LSPNotification<'a, T>
impl<'a, T: Clone> Clone for LSPNotification<'a, T>
Source§fn clone(&self) -> LSPNotification<'a, T>
fn clone(&self) -> LSPNotification<'a, T>
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<'a, T: Debug> Debug for LSPNotification<'a, T>
impl<'a, T: Debug> Debug for LSPNotification<'a, T>
Auto Trait Implementations§
impl<'a, T> Freeze for LSPNotification<'a, T>where
T: Freeze,
impl<'a, T> RefUnwindSafe for LSPNotification<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for LSPNotification<'a, T>where
T: Send,
impl<'a, T> Sync for LSPNotification<'a, T>where
T: Sync,
impl<'a, T> Unpin for LSPNotification<'a, T>where
T: Unpin,
impl<'a, T> UnwindSafe for LSPNotification<'a, T>where
T: 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