pub struct WindowClientCapabilities {
pub work_done_progress: Option<bool>,
pub show_message: Option<ShowMessageRequestClientCapabilities>,
pub show_document: Option<ShowDocumentClientCapabilities>,
}Fields§
§work_done_progress: Option<bool>It indicates whether the client supports server initiated
progress using the window/workDoneProgress/create request.
The capability also controls Whether client supports handling
of progress notifications. If set servers are allowed to report a
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>Capabilities specific to the showDocument request.
@since 3.16.0
Implementations§
Source§impl WindowClientCapabilities
impl WindowClientCapabilities
pub const fn new( work_done_progress: Option<bool>, show_message: Option<ShowMessageRequestClientCapabilities>, show_document: Option<ShowDocumentClientCapabilities>, ) -> Self
Trait Implementations§
Source§impl Clone for WindowClientCapabilities
impl Clone for WindowClientCapabilities
Source§fn clone(&self) -> WindowClientCapabilities
fn clone(&self) -> WindowClientCapabilities
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 Hash for WindowClientCapabilities
impl Hash for WindowClientCapabilities
Source§impl PartialEq for WindowClientCapabilities
impl PartialEq for WindowClientCapabilities
Source§fn eq(&self, other: &WindowClientCapabilities) -> bool
fn eq(&self, other: &WindowClientCapabilities) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for WindowClientCapabilities
impl Serialize for WindowClientCapabilities
impl Copy for WindowClientCapabilities
impl Eq for WindowClientCapabilities
impl StructuralPartialEq for WindowClientCapabilities
Auto Trait Implementations§
impl Freeze for WindowClientCapabilities
impl RefUnwindSafe for WindowClientCapabilities
impl Send for WindowClientCapabilities
impl Sync for WindowClientCapabilities
impl Unpin for WindowClientCapabilities
impl UnsafeUnpin 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