Struct lsp2::ClientCapabilities
pub struct ClientCapabilities {
pub workspace: Option<WorkspaceClientCapabilities>,
pub text_document: Option<TextDocumentClientCapabilities>,
pub window: Option<WindowClientCapabilities>,
pub general: Option<GeneralClientCapabilities>,
pub experimental: Option<Value>,
}
Expand description
Where ClientCapabilities are currently empty:
Fields§
§workspace: Option<WorkspaceClientCapabilities>
Workspace specific client capabilities.
text_document: Option<TextDocumentClientCapabilities>
Text document specific client capabilities.
window: Option<WindowClientCapabilities>
Window specific client capabilities.
general: Option<GeneralClientCapabilities>
General client capabilities.
experimental: Option<Value>
Experimental client capabilities.
Trait Implementations§
§impl Clone for ClientCapabilities
impl Clone for ClientCapabilities
§fn clone(&self) -> ClientCapabilities
fn clone(&self) -> ClientCapabilities
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 ClientCapabilities
impl Debug for ClientCapabilities
§impl Default for ClientCapabilities
impl Default for ClientCapabilities
§fn default() -> ClientCapabilities
fn default() -> ClientCapabilities
Returns the “default value” for a type. Read more
§impl<'de> Deserialize<'de> for ClientCapabilities
impl<'de> Deserialize<'de> for ClientCapabilities
§fn deserialize<__D>(
__deserializer: __D
) -> Result<ClientCapabilities, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<ClientCapabilities, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl PartialEq<ClientCapabilities> for ClientCapabilities
impl PartialEq<ClientCapabilities> for ClientCapabilities
§fn eq(&self, other: &ClientCapabilities) -> bool
fn eq(&self, other: &ClientCapabilities) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl Serialize for ClientCapabilities
impl Serialize for ClientCapabilities
§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 StructuralPartialEq for ClientCapabilities
Auto Trait Implementations§
impl RefUnwindSafe for ClientCapabilities
impl Send for ClientCapabilities
impl Sync for ClientCapabilities
impl Unpin for ClientCapabilities
impl UnwindSafe for ClientCapabilities
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