pub struct WorkspaceFileOperationsServerCapabilities {
pub did_create: Option<FileOperationRegistrationOptions>,
pub will_create: Option<FileOperationRegistrationOptions>,
pub did_rename: Option<FileOperationRegistrationOptions>,
pub will_rename: Option<FileOperationRegistrationOptions>,
pub did_delete: Option<FileOperationRegistrationOptions>,
pub will_delete: Option<FileOperationRegistrationOptions>,
}
Fields§
§did_create: Option<FileOperationRegistrationOptions>
The server is interested in receiving didCreateFiles notifications.
will_create: Option<FileOperationRegistrationOptions>
The server is interested in receiving willCreateFiles requests.
did_rename: Option<FileOperationRegistrationOptions>
The server is interested in receiving didRenameFiles notifications.
will_rename: Option<FileOperationRegistrationOptions>
The server is interested in receiving willRenameFiles requests.
did_delete: Option<FileOperationRegistrationOptions>
The server is interested in receiving didDeleteFiles file notifications.
will_delete: Option<FileOperationRegistrationOptions>
The server is interested in receiving willDeleteFiles file requests.
Trait Implementations§
§impl Clone for WorkspaceFileOperationsServerCapabilities
impl Clone for WorkspaceFileOperationsServerCapabilities
§fn clone(&self) -> WorkspaceFileOperationsServerCapabilities
fn clone(&self) -> WorkspaceFileOperationsServerCapabilities
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 Default for WorkspaceFileOperationsServerCapabilities
impl Default for WorkspaceFileOperationsServerCapabilities
§fn default() -> WorkspaceFileOperationsServerCapabilities
fn default() -> WorkspaceFileOperationsServerCapabilities
Returns the “default value” for a type. Read more
§impl<'de> Deserialize<'de> for WorkspaceFileOperationsServerCapabilities
impl<'de> Deserialize<'de> for WorkspaceFileOperationsServerCapabilities
§fn deserialize<__D>(
__deserializer: __D
) -> Result<WorkspaceFileOperationsServerCapabilities, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<WorkspaceFileOperationsServerCapabilities, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl PartialEq<WorkspaceFileOperationsServerCapabilities> for WorkspaceFileOperationsServerCapabilities
impl PartialEq<WorkspaceFileOperationsServerCapabilities> for WorkspaceFileOperationsServerCapabilities
§fn eq(&self, other: &WorkspaceFileOperationsServerCapabilities) -> bool
fn eq(&self, other: &WorkspaceFileOperationsServerCapabilities) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl Serialize for WorkspaceFileOperationsServerCapabilities
impl Serialize for WorkspaceFileOperationsServerCapabilities
§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 Eq for WorkspaceFileOperationsServerCapabilities
impl StructuralEq for WorkspaceFileOperationsServerCapabilities
impl StructuralPartialEq for WorkspaceFileOperationsServerCapabilities
Auto Trait Implementations§
impl RefUnwindSafe for WorkspaceFileOperationsServerCapabilities
impl Send for WorkspaceFileOperationsServerCapabilities
impl Sync for WorkspaceFileOperationsServerCapabilities
impl Unpin for WorkspaceFileOperationsServerCapabilities
impl UnwindSafe for WorkspaceFileOperationsServerCapabilities
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.