pub struct EditInput {
pub file_path: String,
pub old_string: String,
pub new_string: String,
}Expand description
Edit tool input structure.
Fields§
§file_path: StringThe file path to edit
old_string: StringThe string to replace
new_string: StringThe replacement string
Trait Implementations§
Source§impl<'de> Deserialize<'de> for EditInput
impl<'de> Deserialize<'de> for EditInput
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 EditInput
impl RefUnwindSafe for EditInput
impl Send for EditInput
impl Sync for EditInput
impl Unpin for EditInput
impl UnwindSafe for EditInput
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