pub struct TaskStoreEntry {
pub id: String,
pub context_id: String,
pub status: TaskStatus,
pub artifacts: Vec<Artifact>,
pub history: Vec<Message>,
pub metadata: HashMap<String, Value>,
pub push_configs: Vec<TaskPushNotificationConfig>,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
}Available on crate features
server and a2a-v1 only.Expand description
An entry in the task store representing a persisted A2A task.
Fields§
§id: StringUnique task identifier.
context_id: StringConversation context this task belongs to.
status: TaskStatusCurrent task status (state + optional message + timestamp).
artifacts: Vec<Artifact>Artifacts produced by this task.
history: Vec<Message>Historical messages exchanged during this task.
metadata: HashMap<String, Value>Arbitrary metadata.
push_configs: Vec<TaskPushNotificationConfig>Push notification configurations for this task.
created_at: DateTime<Utc>Timestamp when the task was created.
updated_at: DateTime<Utc>Timestamp when the task was last updated.
Trait Implementations§
Source§impl Clone for TaskStoreEntry
impl Clone for TaskStoreEntry
Source§fn clone(&self) -> TaskStoreEntry
fn clone(&self) -> TaskStoreEntry
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 TaskStoreEntry
impl RefUnwindSafe for TaskStoreEntry
impl Send for TaskStoreEntry
impl Sync for TaskStoreEntry
impl Unpin for TaskStoreEntry
impl UnsafeUnpin for TaskStoreEntry
impl UnwindSafe for TaskStoreEntry
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