pub struct EditContext {
pub file_path: String,
pub operation: EditOperation,
}Expand description
Context for file edit operations
Fields§
§file_path: String§operation: EditOperationImplementations§
Trait Implementations§
Source§impl Clone for EditContext
impl Clone for EditContext
Source§fn clone(&self) -> EditContext
fn clone(&self) -> EditContext
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 EditContext
impl Debug for EditContext
Source§impl<'de> Deserialize<'de> for EditContext
impl<'de> Deserialize<'de> for EditContext
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 EditContext
impl RefUnwindSafe for EditContext
impl Send for EditContext
impl Sync for EditContext
impl Unpin for EditContext
impl UnsafeUnpin for EditContext
impl UnwindSafe for EditContext
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