pub struct DidChangeWatchedFilesClientCapabilities {
pub dynamic_registration: Option<bool>,
pub relative_pattern_support: Option<bool>,
}
Fields§
§dynamic_registration: Option<bool>
Did change watched files notification supports dynamic registration. Please note that the current protocol doesn’t support static configuration for file changes from the server side.
relative_pattern_support: Option<bool>
Whether the client has support for relative patterns or not.
@since 3.17.0
Trait Implementations§
source§impl Clone for DidChangeWatchedFilesClientCapabilities
impl Clone for DidChangeWatchedFilesClientCapabilities
source§fn clone(&self) -> DidChangeWatchedFilesClientCapabilities
fn clone(&self) -> DidChangeWatchedFilesClientCapabilities
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 Default for DidChangeWatchedFilesClientCapabilities
impl Default for DidChangeWatchedFilesClientCapabilities
source§fn default() -> DidChangeWatchedFilesClientCapabilities
fn default() -> DidChangeWatchedFilesClientCapabilities
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for DidChangeWatchedFilesClientCapabilities
impl<'de> Deserialize<'de> for DidChangeWatchedFilesClientCapabilities
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 DidChangeWatchedFilesClientCapabilities
impl PartialEq for DidChangeWatchedFilesClientCapabilities
source§fn eq(&self, other: &DidChangeWatchedFilesClientCapabilities) -> bool
fn eq(&self, other: &DidChangeWatchedFilesClientCapabilities) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for DidChangeWatchedFilesClientCapabilities
impl Eq for DidChangeWatchedFilesClientCapabilities
impl StructuralPartialEq for DidChangeWatchedFilesClientCapabilities
Auto Trait Implementations§
impl Freeze for DidChangeWatchedFilesClientCapabilities
impl RefUnwindSafe for DidChangeWatchedFilesClientCapabilities
impl Send for DidChangeWatchedFilesClientCapabilities
impl Sync for DidChangeWatchedFilesClientCapabilities
impl Unpin for DidChangeWatchedFilesClientCapabilities
impl UnwindSafe for DidChangeWatchedFilesClientCapabilities
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