Struct lsp2::WindowClientCapabilities
pub struct WindowClientCapabilities {
pub work_done_progress: Option<bool>,
pub show_message: Option<ShowMessageRequestClientCapabilities>,
pub show_document: Option<ShowDocumentClientCapabilities>,
}
Expand description
Window specific client capabilities.
Fields§
§work_done_progress: Option<bool>
Whether client supports handling progress notifications. If set
servers are allowed to report in workDoneProgress
property in the
request specific server capabilities.
@since 3.15.0
show_message: Option<ShowMessageRequestClientCapabilities>
Capabilities specific to the showMessage request.
@since 3.16.0
show_document: Option<ShowDocumentClientCapabilities>
Client capabilities for the show document request.
@since 3.16.0
Trait Implementations§
§impl Clone for WindowClientCapabilities
impl Clone for WindowClientCapabilities
§fn clone(&self) -> WindowClientCapabilities
fn clone(&self) -> WindowClientCapabilities
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 WindowClientCapabilities
impl Debug for WindowClientCapabilities
§impl Default for WindowClientCapabilities
impl Default for WindowClientCapabilities
§fn default() -> WindowClientCapabilities
fn default() -> WindowClientCapabilities
Returns the “default value” for a type. Read more
§impl<'de> Deserialize<'de> for WindowClientCapabilities
impl<'de> Deserialize<'de> for WindowClientCapabilities
§fn deserialize<__D>(
__deserializer: __D
) -> Result<WindowClientCapabilities, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<WindowClientCapabilities, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl PartialEq<WindowClientCapabilities> for WindowClientCapabilities
impl PartialEq<WindowClientCapabilities> for WindowClientCapabilities
§fn eq(&self, other: &WindowClientCapabilities) -> bool
fn eq(&self, other: &WindowClientCapabilities) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl Serialize for WindowClientCapabilities
impl Serialize for WindowClientCapabilities
§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 WindowClientCapabilities
Auto Trait Implementations§
impl RefUnwindSafe for WindowClientCapabilities
impl Send for WindowClientCapabilities
impl Sync for WindowClientCapabilities
impl Unpin for WindowClientCapabilities
impl UnwindSafe for WindowClientCapabilities
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