Struct lsp_types::ClientCapabilities [−][src]
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
Returns the “default value” for a type. Read more
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
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
Mutably borrows from an owned value. Read more