Struct lsp_types::WindowClientCapabilities
source · 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§
source§impl Clone for WindowClientCapabilities
impl Clone for WindowClientCapabilities
source§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 moresource§impl Debug for WindowClientCapabilities
impl Debug for WindowClientCapabilities
source§impl Default for WindowClientCapabilities
impl Default for WindowClientCapabilities
source§fn default() -> WindowClientCapabilities
fn default() -> WindowClientCapabilities
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for WindowClientCapabilities
impl<'de> Deserialize<'de> for WindowClientCapabilities
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 WindowClientCapabilities
impl PartialEq for WindowClientCapabilities
source§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 ==
.source§impl Serialize for WindowClientCapabilities
impl Serialize for WindowClientCapabilities
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