pub struct TaskArtifactUpdateEvent {
pub task_id: String,
pub context_id: String,
pub artifact: Artifact,
pub append: Option<bool>,
pub last_chunk: Option<bool>,
pub metadata: Option<Value>,
}Expand description
Task artifact update event
Fields§
§task_id: StringTask identifier
context_id: StringContext identifier
artifact: ArtifactNew or updated artifact
append: Option<bool>Whether to append to existing artifact
last_chunk: Option<bool>Whether this is the last chunk
metadata: Option<Value>Custom metadata
Trait Implementations§
Source§impl Clone for TaskArtifactUpdateEvent
impl Clone for TaskArtifactUpdateEvent
Source§fn clone(&self) -> TaskArtifactUpdateEvent
fn clone(&self) -> TaskArtifactUpdateEvent
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 moreSource§impl Debug for TaskArtifactUpdateEvent
impl Debug for TaskArtifactUpdateEvent
Source§impl<'de> Deserialize<'de> for TaskArtifactUpdateEvent
impl<'de> Deserialize<'de> for TaskArtifactUpdateEvent
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
Source§impl PartialEq for TaskArtifactUpdateEvent
impl PartialEq for TaskArtifactUpdateEvent
Source§impl Serialize for TaskArtifactUpdateEvent
impl Serialize for TaskArtifactUpdateEvent
impl StructuralPartialEq for TaskArtifactUpdateEvent
Auto Trait Implementations§
impl Freeze for TaskArtifactUpdateEvent
impl RefUnwindSafe for TaskArtifactUpdateEvent
impl Send for TaskArtifactUpdateEvent
impl Sync for TaskArtifactUpdateEvent
impl Unpin for TaskArtifactUpdateEvent
impl UnwindSafe for TaskArtifactUpdateEvent
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