pub struct DroppedEdits {
pub out_of_workspace: usize,
pub unsupported_file_operation: usize,
pub unsupported_snippet_edit: usize,
}Expand description
Counts of WorkspaceEdit entries withheld during conversion to MCP DTOs,
broken down by reason (#475).
convert_workspace_edit silently discarded such entries with only a
tracing log line, so a client applying a RenameResult or
WorkspaceEditDescription straight to disk could not tell “nothing to
rename” apart from “some of the rename was withheld” – this makes that
distinction visible in the result itself.
Fields§
§out_of_workspace: usizeEntries referencing a URI outside every configured workspace root.
unsupported_file_operation: usizeCreateFile/RenameFile/DeleteFile document changes, which mcpls
does not translate into MCP DTOs.
unsupported_snippet_edit: usizeSnippetTextEdit entries, which mcpls does not translate since it
advertises no snippetEditSupport.
Implementations§
Trait Implementations§
Source§impl Clone for DroppedEdits
impl Clone for DroppedEdits
impl Copy for DroppedEdits
Source§impl Debug for DroppedEdits
impl Debug for DroppedEdits
Source§impl Default for DroppedEdits
impl Default for DroppedEdits
Source§impl<'de> Deserialize<'de> for DroppedEdits
impl<'de> Deserialize<'de> for DroppedEdits
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
impl Eq for DroppedEdits
Source§impl PartialEq for DroppedEdits
impl PartialEq for DroppedEdits
Source§impl Serialize for DroppedEdits
impl Serialize for DroppedEdits
impl StructuralPartialEq for DroppedEdits
Auto Trait Implementations§
impl Freeze for DroppedEdits
impl RefUnwindSafe for DroppedEdits
impl Send for DroppedEdits
impl Sync for DroppedEdits
impl Unpin for DroppedEdits
impl UnsafeUnpin for DroppedEdits
impl UnwindSafe for DroppedEdits
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.