pub struct ThreadStartPlan {
pub name: ThreadId,
pub has_explicit_path: bool,
pub requires_clean_worktree: bool,
pub workspace: WorkspaceModeRequest,
pub from: Option<String>,
pub path: Option<PathBuf>,
pub parent_thread: Option<String>,
pub automated: bool,
pub task: Option<String>,
pub shared_target: bool,
pub hydrate: bool,
}Expand description
Pure plan for heddle start / heddle thread start after option preflight.
Base resolution, FS path checks, and materialization remain with the caller; this captures what can be decided from options alone.
Fields§
§name: ThreadId§has_explicit_path: boolTrue when the caller supplied an explicit --path.
requires_clean_worktree: boolWhether the start preflight should require a clean worktree.
Matches CLI: isolated checkouts (--path) refuse a dirty tree so the
parent worktree is not partially moved into the new checkout.
workspace: WorkspaceModeRequestEcho of the caller’s workspace request (mode is finalized later with
host/config facts via plan_thread_mode).
from: Option<String>§path: Option<PathBuf>§parent_thread: Option<String>§automated: bool§task: Option<String>§hydrate: boolTrait Implementations§
Source§impl Clone for ThreadStartPlan
impl Clone for ThreadStartPlan
Source§fn clone(&self) -> ThreadStartPlan
fn clone(&self) -> ThreadStartPlan
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ThreadStartPlan
impl Debug for ThreadStartPlan
impl Eq for ThreadStartPlan
Source§impl PartialEq for ThreadStartPlan
impl PartialEq for ThreadStartPlan
impl StructuralPartialEq for ThreadStartPlan
Auto Trait Implementations§
impl Freeze for ThreadStartPlan
impl RefUnwindSafe for ThreadStartPlan
impl Send for ThreadStartPlan
impl Sync for ThreadStartPlan
impl Unpin for ThreadStartPlan
impl UnsafeUnpin for ThreadStartPlan
impl UnwindSafe for ThreadStartPlan
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