pub struct Artifact {
pub artifact_id: String,
pub name: Option<String>,
pub description: Option<String>,
pub parts: Vec<MessagePart>,
pub metadata: Option<Value>,
pub extensions: Vec<String>,
}Expand description
Artifacts represent task outputs
Fields§
§artifact_id: StringUnique identifier of the Artifact
name: Option<String>A human readable name for the Artifact
description: Option<String>A human readable description of the Artifact
parts: Vec<MessagePart>Contents of the Artifact. Must contain at least one part
metadata: Option<Value>§extensions: Vec<String>The URIs of extensions that are present or contributed to this Artifact
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Artifact
impl<'de> Deserialize<'de> for Artifact
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
impl StructuralPartialEq for Artifact
Auto Trait Implementations§
impl Freeze for Artifact
impl RefUnwindSafe for Artifact
impl Send for Artifact
impl Sync for Artifact
impl Unpin for Artifact
impl UnwindSafe for Artifact
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