Struct lsp_types::ClientCapabilities
source · pub struct ClientCapabilities {
pub workspace: Option<WorkspaceClientCapabilities>,
pub text_document: Option<TextDocumentClientCapabilities>,
pub window: Option<WindowClientCapabilities>,
pub general: Option<GeneralClientCapabilities>,
pub experimental: Option<Value>,
}
Expand description
Where ClientCapabilities are currently empty:
Fields§
§workspace: Option<WorkspaceClientCapabilities>
Workspace specific client capabilities.
text_document: Option<TextDocumentClientCapabilities>
Text document specific client capabilities.
window: Option<WindowClientCapabilities>
Window specific client capabilities.
general: Option<GeneralClientCapabilities>
General client capabilities.
experimental: Option<Value>
Experimental client capabilities.
Trait Implementations§
source§impl Clone for ClientCapabilities
impl Clone for ClientCapabilities
source§fn clone(&self) -> ClientCapabilities
fn clone(&self) -> ClientCapabilities
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 ClientCapabilities
impl Debug for ClientCapabilities
source§impl Default for ClientCapabilities
impl Default for ClientCapabilities
source§fn default() -> ClientCapabilities
fn default() -> ClientCapabilities
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ClientCapabilities
impl<'de> Deserialize<'de> for ClientCapabilities
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 ClientCapabilities
impl PartialEq for ClientCapabilities
source§fn eq(&self, other: &ClientCapabilities) -> bool
fn eq(&self, other: &ClientCapabilities) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ClientCapabilities
impl Serialize for ClientCapabilities
impl StructuralPartialEq for ClientCapabilities
Auto Trait Implementations§
impl RefUnwindSafe for ClientCapabilities
impl Send for ClientCapabilities
impl Sync for ClientCapabilities
impl Unpin for ClientCapabilities
impl UnwindSafe for ClientCapabilities
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