pub struct SpecEntry {
pub id: String,
pub branch: String,
pub cli: Option<String>,
pub prompt: String,
pub owned_files: Option<Vec<String>>,
}Expand description
A discovered spec ready for session launch.
Represents a single pending spec with all the information needed to create a worktree and launch an AI coding session.
Fields§
§id: StringUnique identifier (folder name or filename).
branch: StringDerived branch name: branch_prefix + id.
cli: Option<String>Per-spec CLI override (from paw_cli frontmatter).
prompt: StringContent to inject into the worktree AGENTS.md.
owned_files: Option<Vec<String>>File ownership if declared by the spec.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SpecEntry
impl RefUnwindSafe for SpecEntry
impl Send for SpecEntry
impl Sync for SpecEntry
impl Unpin for SpecEntry
impl UnsafeUnpin for SpecEntry
impl UnwindSafe for SpecEntry
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more