pub struct TypeDefinitionClientCapabilities {
pub dynamic_registration: Option<bool>,
pub link_support: Option<bool>,
}Fields§
§dynamic_registration: Option<bool>Whether implementation supports dynamic registration. If this is set to true the client
supports the new TypeDefinitionRegistrationOptions return value for the corresponding
server capability as well.
link_support: Option<bool>The client supports additional metadata in the form of definition links.
Trait Implementations§
Source§impl Clone for TypeDefinitionClientCapabilities
impl Clone for TypeDefinitionClientCapabilities
Source§fn clone(&self) -> TypeDefinitionClientCapabilities
fn clone(&self) -> TypeDefinitionClientCapabilities
Returns a duplicate 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 TypeDefinitionClientCapabilities
impl Default for TypeDefinitionClientCapabilities
Source§fn default() -> TypeDefinitionClientCapabilities
fn default() -> TypeDefinitionClientCapabilities
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TypeDefinitionClientCapabilities
impl<'de> Deserialize<'de> for TypeDefinitionClientCapabilities
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 TypeDefinitionClientCapabilities
impl PartialEq for TypeDefinitionClientCapabilities
Source§fn eq(&self, other: &TypeDefinitionClientCapabilities) -> bool
fn eq(&self, other: &TypeDefinitionClientCapabilities) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TypeDefinitionClientCapabilities
Auto Trait Implementations§
impl Freeze for TypeDefinitionClientCapabilities
impl RefUnwindSafe for TypeDefinitionClientCapabilities
impl Send for TypeDefinitionClientCapabilities
impl Sync for TypeDefinitionClientCapabilities
impl Unpin for TypeDefinitionClientCapabilities
impl UnwindSafe for TypeDefinitionClientCapabilities
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