pub struct WorkspaceClientCapabilities {
Show 14 fields pub apply_edit: Option<bool>, pub workspace_edit: Option<WorkspaceEditClientCapabilities>, pub did_change_configuration: Option<DidChangeConfigurationClientCapabilities>, pub did_change_watched_files: Option<DidChangeWatchedFilesClientCapabilities>, pub symbol: Option<WorkspaceSymbolClientCapabilities>, pub execute_command: Option<ExecuteCommandClientCapabilities>, pub workspace_folders: Option<bool>, pub configuration: Option<bool>, pub semantic_tokens: Option<SemanticTokensWorkspaceClientCapabilities>, pub code_lens: Option<CodeLensWorkspaceClientCapabilities>, pub file_operations: Option<WorkspaceFileOperationsClientCapabilities>, pub inline_value: Option<InlineValueWorkspaceClientCapabilities>, pub inlay_hint: Option<InlayHintWorkspaceClientCapabilities>, pub diagnostic: Option<DiagnosticWorkspaceClientCapabilities>,
}
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<WorkspaceEditClientCapabilities>

Capabilities specific to WorkspaceEdits

§did_change_configuration: Option<DidChangeConfigurationClientCapabilities>

Capabilities specific to the workspace/didChangeConfiguration notification.

§did_change_watched_files: Option<DidChangeWatchedFilesClientCapabilities>

Capabilities specific to the workspace/didChangeWatchedFiles notification.

§symbol: Option<WorkspaceSymbolClientCapabilities>

Capabilities specific to the workspace/symbol request.

§execute_command: Option<ExecuteCommandClientCapabilities>

Capabilities specific to the workspace/executeCommand request.

§workspace_folders: Option<bool>

The client has support for workspace folders.

@since 3.6.0

§configuration: Option<bool>

The client supports workspace/configuration requests.

@since 3.6.0

§semantic_tokens: Option<SemanticTokensWorkspaceClientCapabilities>

Capabilities specific to the semantic token requests scoped to the workspace.

@since 3.16.0

§code_lens: Option<CodeLensWorkspaceClientCapabilities>

Capabilities specific to the code lens requests scoped to the workspace.

@since 3.16.0

§file_operations: Option<WorkspaceFileOperationsClientCapabilities>

The client has support for file requests/notifications.

@since 3.16.0

§inline_value: Option<InlineValueWorkspaceClientCapabilities>

Client workspace capabilities specific to inline values.

@since 3.17.0

§inlay_hint: Option<InlayHintWorkspaceClientCapabilities>

Client workspace capabilities specific to inlay hints.

@since 3.17.0

§diagnostic: Option<DiagnosticWorkspaceClientCapabilities>

Client workspace capabilities specific to diagnostics. since 3.17.0

Trait Implementations§

source§

impl Clone for WorkspaceClientCapabilities

source§

fn clone(&self) -> WorkspaceClientCapabilities

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for WorkspaceClientCapabilities

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for WorkspaceClientCapabilities

source§

fn default() -> WorkspaceClientCapabilities

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for WorkspaceClientCapabilities

source§

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 WorkspaceClientCapabilities

source§

fn eq(&self, other: &WorkspaceClientCapabilities) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Serialize for WorkspaceClientCapabilities

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for WorkspaceClientCapabilities

source§

impl StructuralEq for WorkspaceClientCapabilities

source§

impl StructuralPartialEq for WorkspaceClientCapabilities

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

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

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,