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
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.