pub struct EditValidatorInput {
pub file_path: String,
pub old_string: String,
pub new_string: String,
}Expand description
Input for edit validator hook.
Fields§
§file_path: StringFile path being edited.
old_string: StringOld string being replaced.
new_string: StringNew string being inserted.
Trait Implementations§
Source§impl Clone for EditValidatorInput
impl Clone for EditValidatorInput
Source§fn clone(&self) -> EditValidatorInput
fn clone(&self) -> EditValidatorInput
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 moreAuto Trait Implementations§
impl Freeze for EditValidatorInput
impl RefUnwindSafe for EditValidatorInput
impl Send for EditValidatorInput
impl Sync for EditValidatorInput
impl Unpin for EditValidatorInput
impl UnsafeUnpin for EditValidatorInput
impl UnwindSafe for EditValidatorInput
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