[−][src]Struct lsp_types::WorkspaceEdit
A workspace edit represents changes to many resources managed in the workspace.
Fields
changes: Option<HashMap<Url, Vec<TextEdit>>>Holds changes to existing resources.
document_changes: Option<DocumentChanges>Depending on the client capability workspace.workspaceEdit.resourceOperations document changes
are either an array of TextDocumentEdits to express changes to n different text documents
where each text document edit addresses a specific version of a text document. Or it can contain
above TextDocumentEdits mixed with create, rename and delete file / folder operations.
Whether a client supports versioned document edits is expressed via
workspace.workspaceEdit.documentChanges client capability.
If a client neither supports documentChanges nor workspace.workspaceEdit.resourceOperations then
only plain TextEdits using the changes property are supported.
Methods
impl WorkspaceEdit[src]
Trait Implementations
impl Clone for WorkspaceEdit[src]
fn clone(&self) -> WorkspaceEdit[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Default for WorkspaceEdit[src]
fn default() -> WorkspaceEdit[src]
impl Eq for WorkspaceEdit[src]
impl PartialEq<WorkspaceEdit> for WorkspaceEdit[src]
fn eq(&self, other: &WorkspaceEdit) -> bool[src]
fn ne(&self, other: &WorkspaceEdit) -> bool[src]
impl Debug for WorkspaceEdit[src]
impl StructuralPartialEq for WorkspaceEdit[src]
impl StructuralEq for WorkspaceEdit[src]
impl Serialize for WorkspaceEdit[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer, [src]
__S: Serializer,
impl<'de> Deserialize<'de> for WorkspaceEdit[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Send for WorkspaceEdit
impl Sync for WorkspaceEdit
impl Unpin for WorkspaceEdit
impl UnwindSafe for WorkspaceEdit
impl RefUnwindSafe for WorkspaceEdit
Blanket Implementations
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = !
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>, [src]
T: Deserialize<'de>,