pub struct A2ATask {
pub id: String,
pub status: A2ATaskStatus,
pub input: Value,
pub output: Option<Value>,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
}Expand description
A task sent from one agent to another.
Fields§
§id: StringUnique identifier for this task.
status: A2ATaskStatusCurrent status.
input: ValueInput payload (JSON).
output: Option<Value>Output payload, populated on completion.
created_at: DateTime<Utc>When the task was created.
updated_at: DateTime<Utc>When the task was last updated.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for A2ATask
impl<'de> Deserialize<'de> for A2ATask
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 A2ATask
impl RefUnwindSafe for A2ATask
impl Send for A2ATask
impl Sync for A2ATask
impl Unpin for A2ATask
impl UnsafeUnpin for A2ATask
impl UnwindSafe for A2ATask
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