pub struct A2aTask {
pub id: String,
pub context_id: Option<String>,
pub status: TaskStatus,
pub artifacts: Option<Vec<A2aArtifact>>,
pub metadata: Option<HashMap<String, Value>>,
}Expand description
An A2A task.
Fields§
§id: StringUnique task identifier.
context_id: Option<String>Context identifier for grouping related tasks.
status: TaskStatusCurrent status of the task.
artifacts: Option<Vec<A2aArtifact>>Artifacts produced by the task.
metadata: Option<HashMap<String, Value>>Optional task-level metadata.
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 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