pub struct WorkspaceClientCapabilities {
    pub apply_edit: Option<bool>,
    pub workspace_edit: Option<WorkspaceEditCapability>,
    pub did_change_configuration: Option<GenericCapability>,
    pub did_change_watched_files: Option<GenericCapability>,
    pub symbol: Option<SymbolCapability>,
    pub execute_command: Option<GenericCapability>,
    pub workspace_folders: Option<bool>,
    pub configuration: Option<bool>,
}
Expand description

Workspace specific client capabilities.

Fields§

§apply_edit: Option<bool>

The client supports applying batch edits to the workspace by supporting the request ‘workspace/applyEdit’

§workspace_edit: Option<WorkspaceEditCapability>

Capabilities specific to WorkspaceEdits

§did_change_configuration: Option<GenericCapability>

Capabilities specific to the workspace/didChangeConfiguration notification.

§did_change_watched_files: Option<GenericCapability>

Capabilities specific to the workspace/didChangeWatchedFiles notification.

§symbol: Option<SymbolCapability>

Capabilities specific to the workspace/symbol request.

§execute_command: Option<GenericCapability>

Capabilities specific to the workspace/executeCommand request.

§workspace_folders: Option<bool>

The client has support for workspace folders.

§configuration: Option<bool>

The client supports workspace/configuration requests.

Trait Implementations§

Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
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 !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.