pub struct HookContext {
pub owner: String,
pub repo: String,
pub issue: String,
pub branch: String,
pub worktree_path: String,
}Expand description
Template variables available to hook scripts.
Fields§
§owner: StringGitHub owner / organization name.
repo: StringRepository name.
issue: StringIssue number or Linear UUID as a string.
branch: StringGit branch name for the worktree.
worktree_path: StringAbsolute path to the worktree directory.
Implementations§
Auto Trait Implementations§
impl Freeze for HookContext
impl RefUnwindSafe for HookContext
impl Send for HookContext
impl Sync for HookContext
impl Unpin for HookContext
impl UnsafeUnpin for HookContext
impl UnwindSafe for HookContext
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