pub struct WorkspaceSymbolClientCapabilities {
pub dynamic_registration: Option<bool>,
pub symbol_kind: Option<SymbolKindCapability>,
pub tag_support: Option<TagSupport<SymbolTag>>,
pub resolve_support: Option<WorkspaceSymbolResolveSupportCapability>,
}
Fields§
§dynamic_registration: Option<bool>
This capability supports dynamic registration.
symbol_kind: Option<SymbolKindCapability>
Specific capabilities for the SymbolKind
in the workspace/symbol
request.
tag_support: Option<TagSupport<SymbolTag>>
The client supports tags on SymbolInformation
.
Clients supporting tags have to handle unknown tags gracefully.
@since 3.16.0
resolve_support: Option<WorkspaceSymbolResolveSupportCapability>
The client support partial workspace symbols. The client will send the
request workspaceSymbol/resolve
to the server to resolve additional
properties.
@since 3.17.0
Trait Implementations§
source§impl Clone for WorkspaceSymbolClientCapabilities
impl Clone for WorkspaceSymbolClientCapabilities
source§fn clone(&self) -> WorkspaceSymbolClientCapabilities
fn clone(&self) -> WorkspaceSymbolClientCapabilities
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 Default for WorkspaceSymbolClientCapabilities
impl Default for WorkspaceSymbolClientCapabilities
source§fn default() -> WorkspaceSymbolClientCapabilities
fn default() -> WorkspaceSymbolClientCapabilities
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for WorkspaceSymbolClientCapabilities
impl<'de> Deserialize<'de> for WorkspaceSymbolClientCapabilities
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 WorkspaceSymbolClientCapabilities
impl PartialEq for WorkspaceSymbolClientCapabilities
source§fn eq(&self, other: &WorkspaceSymbolClientCapabilities) -> bool
fn eq(&self, other: &WorkspaceSymbolClientCapabilities) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Eq for WorkspaceSymbolClientCapabilities
impl StructuralPartialEq for WorkspaceSymbolClientCapabilities
Auto Trait Implementations§
impl Freeze for WorkspaceSymbolClientCapabilities
impl RefUnwindSafe for WorkspaceSymbolClientCapabilities
impl Send for WorkspaceSymbolClientCapabilities
impl Sync for WorkspaceSymbolClientCapabilities
impl Unpin for WorkspaceSymbolClientCapabilities
impl UnwindSafe for WorkspaceSymbolClientCapabilities
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.