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 WorkspaceEdit
s
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§
Source§impl Debug for WorkspaceClientCapabilities
impl Debug for WorkspaceClientCapabilities
Source§impl Default for WorkspaceClientCapabilities
impl Default for WorkspaceClientCapabilities
Source§fn default() -> WorkspaceClientCapabilities
fn default() -> WorkspaceClientCapabilities
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WorkspaceClientCapabilities
impl<'de> Deserialize<'de> for WorkspaceClientCapabilities
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
impl Eq for WorkspaceClientCapabilities
impl StructuralPartialEq for WorkspaceClientCapabilities
Auto Trait Implementations§
impl Freeze for WorkspaceClientCapabilities
impl RefUnwindSafe for WorkspaceClientCapabilities
impl Send for WorkspaceClientCapabilities
impl Sync for WorkspaceClientCapabilities
impl Unpin for WorkspaceClientCapabilities
impl UnwindSafe for WorkspaceClientCapabilities
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