pub struct QueuedTask {
pub id: String,
pub description: String,
pub prompt: Option<String>,
pub capabilities: Vec<String>,
pub priority: TaskPriority,
pub dependencies: Vec<String>,
pub max_agents: u32,
pub timeout: Duration,
pub parallel: bool,
pub context: Value,
}Expand description
Queued task with metadata
Fields§
§id: StringUnique task ID
description: StringTask description
prompt: Option<String>Detailed prompt
capabilities: Vec<String>Required capabilities
priority: TaskPriorityTask priority
dependencies: Vec<String>Task dependencies
max_agents: u32Maximum agents to spawn
timeout: DurationTask timeout
parallel: boolExecute in parallel
context: ValueTask context
Trait Implementations§
Source§impl Clone for QueuedTask
impl Clone for QueuedTask
Source§fn clone(&self) -> QueuedTask
fn clone(&self) -> QueuedTask
Returns a duplicate of the value. Read more
1.0.0 · 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 QueuedTask
impl RefUnwindSafe for QueuedTask
impl Send for QueuedTask
impl Sync for QueuedTask
impl Unpin for QueuedTask
impl UnwindSafe for QueuedTask
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