pub struct Task {
pub version: String,
pub task_id: String,
pub role: AgentRole,
pub goal: String,
pub inputs: Option<JsonMap>,
pub constraints: Option<JsonMap>,
pub gates_required: Option<Vec<String>>,
pub run_context: Option<RunContext>,
pub extensions: JsonMap,
}Fields§
§version: String§task_id: String§role: AgentRole§goal: String§inputs: Option<JsonMap>§constraints: Option<JsonMap>§gates_required: Option<Vec<String>>§run_context: Option<RunContext>§extensions: JsonMapTrait Implementations§
Source§impl<'de> Deserialize<'de> for Task
impl<'de> Deserialize<'de> for Task
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Task
impl RefUnwindSafe for Task
impl Send for Task
impl Sync for Task
impl Unpin for Task
impl UnwindSafe for Task
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