Struct lsp_types::WorkspaceFileOperationsServerCapabilities [−][src]
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
Returns the “default value” for a type. Read more
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more