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§
§impl Clone for WorkspaceSymbolClientCapabilities
impl Clone for WorkspaceSymbolClientCapabilities
§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 more§impl Debug for WorkspaceSymbolClientCapabilities
impl Debug for WorkspaceSymbolClientCapabilities
§impl Default for WorkspaceSymbolClientCapabilities
impl Default for WorkspaceSymbolClientCapabilities
§fn default() -> WorkspaceSymbolClientCapabilities
fn default() -> WorkspaceSymbolClientCapabilities
Returns the “default value” for a type. Read more
§impl<'de> Deserialize<'de> for WorkspaceSymbolClientCapabilities
impl<'de> Deserialize<'de> for WorkspaceSymbolClientCapabilities
§fn deserialize<__D>(
__deserializer: __D
) -> Result<WorkspaceSymbolClientCapabilities, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<WorkspaceSymbolClientCapabilities, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl PartialEq<WorkspaceSymbolClientCapabilities> for WorkspaceSymbolClientCapabilities
impl PartialEq<WorkspaceSymbolClientCapabilities> for WorkspaceSymbolClientCapabilities
§fn eq(&self, other: &WorkspaceSymbolClientCapabilities) -> bool
fn eq(&self, other: &WorkspaceSymbolClientCapabilities) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl Serialize for WorkspaceSymbolClientCapabilities
impl Serialize for WorkspaceSymbolClientCapabilities
§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for WorkspaceSymbolClientCapabilities
impl StructuralEq for WorkspaceSymbolClientCapabilities
impl StructuralPartialEq for WorkspaceSymbolClientCapabilities
Auto Trait Implementations§
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.