pub enum PostToolAction {
Pass,
Modify(String),
}Expand description
Action returned by a PostToolUse hook.
Variants§
Trait Implementations§
Source§impl Clone for PostToolAction
impl Clone for PostToolAction
Source§fn clone(&self) -> PostToolAction
fn clone(&self) -> PostToolAction
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 PostToolAction
impl RefUnwindSafe for PostToolAction
impl Send for PostToolAction
impl Sync for PostToolAction
impl Unpin for PostToolAction
impl UnsafeUnpin for PostToolAction
impl UnwindSafe for PostToolAction
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