pub struct SubAgentTaskInfo {
pub path: String,
pub dedup_suffix: String,
}Expand description
One descriptor per sub-agent in a SubAgentDispatchStart batch.
Mirrored 1:1 with the tasks vector built in parallel_edit::execute
so callers can reuse the index across the lifecycle events.
Fields§
§path: StringWorkspace-relative file path the sub-agent will edit. Renderer
shows this in full (not basename-only) so multi-component paths
like src/server/tunnel.rs vs src/client/tunnel.rs stay
visibly distinct.
dedup_suffix: StringUser-facing duplicate-instance qualifier. Empty when the path
is unique within this dispatch; " (#2)", " (#3)" when the
dispatcher is forking >1 sub-agent against the same path.
Trait Implementations§
Source§impl Clone for SubAgentTaskInfo
impl Clone for SubAgentTaskInfo
Source§fn clone(&self) -> SubAgentTaskInfo
fn clone(&self) -> SubAgentTaskInfo
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 moreAuto Trait Implementations§
impl Freeze for SubAgentTaskInfo
impl RefUnwindSafe for SubAgentTaskInfo
impl Send for SubAgentTaskInfo
impl Sync for SubAgentTaskInfo
impl Unpin for SubAgentTaskInfo
impl UnsafeUnpin for SubAgentTaskInfo
impl UnwindSafe for SubAgentTaskInfo
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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