pub struct WorkSpaceEditDTO {
pub Edits: Vec<(Value, Vec<Value>)>,
}Expand description
A serializable struct representing a workspace edit, which is a batch of
changes that can include text edits and file operations (create, delete,
rename). This is analogous to vscode.WorkspaceEdit.
Fields§
§Edits: Vec<(Value, Vec<Value>)>A list of text edits to apply, grouped by resource URI.
The structure is [ [uri_dto, [text_edit_dto, ...]], ... ]
Trait Implementations§
Source§impl Clone for WorkSpaceEditDTO
impl Clone for WorkSpaceEditDTO
Source§fn clone(&self) -> WorkSpaceEditDTO
fn clone(&self) -> WorkSpaceEditDTO
Returns a duplicate 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 Debug for WorkSpaceEditDTO
impl Debug for WorkSpaceEditDTO
Source§impl Default for WorkSpaceEditDTO
impl Default for WorkSpaceEditDTO
Source§fn default() -> WorkSpaceEditDTO
fn default() -> WorkSpaceEditDTO
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WorkSpaceEditDTO
impl<'de> Deserialize<'de> for WorkSpaceEditDTO
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
Auto Trait Implementations§
impl Freeze for WorkSpaceEditDTO
impl RefUnwindSafe for WorkSpaceEditDTO
impl Send for WorkSpaceEditDTO
impl Sync for WorkSpaceEditDTO
impl Unpin for WorkSpaceEditDTO
impl UnwindSafe for WorkSpaceEditDTO
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