pub struct WorkspaceEditCapability {
pub document_changes: Option<bool>,
pub resource_operations: Option<Vec<ResourceOperationKind>>,
pub failure_handling: Option<FailureHandlingKind>,
}
Fields§
§document_changes: Option<bool>
The client supports versioned document changes in WorkspaceEdit
s
resource_operations: Option<Vec<ResourceOperationKind>>
The resource operations the client supports. Clients should at least support ‘create’, ‘rename’ and ‘delete’ files and folders.
failure_handling: Option<FailureHandlingKind>
The failure handling strategy of a client if applying the workspace edit failes.
Trait Implementations§
Source§impl Debug for WorkspaceEditCapability
impl Debug for WorkspaceEditCapability
Source§impl Default for WorkspaceEditCapability
impl Default for WorkspaceEditCapability
Source§fn default() -> WorkspaceEditCapability
fn default() -> WorkspaceEditCapability
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WorkspaceEditCapability
impl<'de> Deserialize<'de> for WorkspaceEditCapability
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 WorkspaceEditCapability
impl PartialEq for WorkspaceEditCapability
Source§impl Serialize for WorkspaceEditCapability
impl Serialize for WorkspaceEditCapability
impl Eq for WorkspaceEditCapability
impl StructuralPartialEq for WorkspaceEditCapability
Auto Trait Implementations§
impl Freeze for WorkspaceEditCapability
impl RefUnwindSafe for WorkspaceEditCapability
impl Send for WorkspaceEditCapability
impl Sync for WorkspaceEditCapability
impl Unpin for WorkspaceEditCapability
impl UnwindSafe for WorkspaceEditCapability
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