pub enum FileChange {
Created {
path: String,
},
Modified {
path: String,
},
Deleted {
path: String,
},
Moved {
from: String,
to: String,
},
Other,
}Expand description
A file-system effect of a tool call. Paths are for display (workspace-relative when possible).
Variants§
Created
Modified
Deleted
Moved
Other
A change a newer engine reports that this client doesn’t know (not shown).
Trait Implementations§
Source§impl Clone for FileChange
impl Clone for FileChange
Source§impl Debug for FileChange
impl Debug for FileChange
Source§impl<'de> Deserialize<'de> for FileChange
impl<'de> Deserialize<'de> for FileChange
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 FileChange
Source§impl PartialEq for FileChange
impl PartialEq for FileChange
Source§impl Serialize for FileChange
impl Serialize for FileChange
impl StructuralPartialEq for FileChange
Auto Trait Implementations§
impl Forget for FileChange
impl Freeze for FileChange
impl Move for FileChange
impl RefUnwindSafe for FileChange
impl Send for FileChange
impl Sync for FileChange
impl Unpin for FileChange
impl UnsafeUnpin for FileChange
impl UnwindSafe for FileChange
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