Struct lsp2::ShowDocumentClientCapabilities
pub struct ShowDocumentClientCapabilities {
pub support: bool,
}
Expand description
Client capabilities for the show document request.
Fields§
§support: bool
The client has support for the show document request.
Trait Implementations§
§impl Clone for ShowDocumentClientCapabilities
impl Clone for ShowDocumentClientCapabilities
§fn clone(&self) -> ShowDocumentClientCapabilities
fn clone(&self) -> ShowDocumentClientCapabilities
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 ShowDocumentClientCapabilities
impl Debug for ShowDocumentClientCapabilities
§impl Default for ShowDocumentClientCapabilities
impl Default for ShowDocumentClientCapabilities
§fn default() -> ShowDocumentClientCapabilities
fn default() -> ShowDocumentClientCapabilities
Returns the “default value” for a type. Read more
§impl<'de> Deserialize<'de> for ShowDocumentClientCapabilities
impl<'de> Deserialize<'de> for ShowDocumentClientCapabilities
§fn deserialize<__D>(
__deserializer: __D
) -> Result<ShowDocumentClientCapabilities, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<ShowDocumentClientCapabilities, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl PartialEq<ShowDocumentClientCapabilities> for ShowDocumentClientCapabilities
impl PartialEq<ShowDocumentClientCapabilities> for ShowDocumentClientCapabilities
§fn eq(&self, other: &ShowDocumentClientCapabilities) -> bool
fn eq(&self, other: &ShowDocumentClientCapabilities) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl Serialize for ShowDocumentClientCapabilities
impl Serialize for ShowDocumentClientCapabilities
§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 ShowDocumentClientCapabilities
Auto Trait Implementations§
impl RefUnwindSafe for ShowDocumentClientCapabilities
impl Send for ShowDocumentClientCapabilities
impl Sync for ShowDocumentClientCapabilities
impl Unpin for ShowDocumentClientCapabilities
impl UnwindSafe for ShowDocumentClientCapabilities
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