pub struct HookInput {
pub command: String,
pub cwd: Option<String>,
pub root: Option<String>,
}Fields§
§command: String§cwd: Option<String>§root: Option<String>The project root, when the harness supplies one (HP-19) — a *_PROJECT_DIR env var
for most, workspace_roots in the payload for cursor. Absent for codex/copilot.
Auto Trait Implementations§
impl Freeze for HookInput
impl RefUnwindSafe for HookInput
impl Send for HookInput
impl Sync for HookInput
impl Unpin for HookInput
impl UnsafeUnpin for HookInput
impl UnwindSafe for HookInput
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