pub struct ResultCtx {
pub source_roots: Vec<String>,
pub active_repo: Option<String>,
}Expand description
Read-only runtime context handed to a ResultPostprocessHook.
Exposes the active source roots and repo so a consumer’s hook can
tailor its footer to the current binding without capturing the
workspace itself. Decoupled by design — no framework types leak.
Fields§
§source_roots: Vec<String>Active source roots at call time (empty when none bound).
active_repo: Option<String>Active workspace repo (org/repo or a synthetic local name),
or None when nothing is bound.
Auto Trait Implementations§
impl Freeze for ResultCtx
impl RefUnwindSafe for ResultCtx
impl Send for ResultCtx
impl Sync for ResultCtx
impl Unpin for ResultCtx
impl UnsafeUnpin for ResultCtx
impl UnwindSafe for ResultCtx
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