pub struct ArtifactInfo {
pub path: String,
pub mime_type: String,
pub sha256: Option<String>,
pub size_bytes: u64,
}Expand description
Metadata for an artifact produced by a task — a file the agent wrote to a known path so callers can read it byte-by-byte instead of re-typing the content through another LLM (issue #715 Part B).
Fields§
§path: StringAbsolute path the artifact was written to.
mime_type: StringMIME type (e.g. “text/markdown”, “application/json”).
sha256: Option<String>SHA-256 hex digest of the file content, for integrity checking by the consumer before they use it. Always present when the runtime verified the file post-completion.
size_bytes: u64File size in bytes.
Trait Implementations§
Source§impl Clone for ArtifactInfo
impl Clone for ArtifactInfo
Source§fn clone(&self) -> ArtifactInfo
fn clone(&self) -> ArtifactInfo
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 moreSource§impl Debug for ArtifactInfo
impl Debug for ArtifactInfo
Source§impl<'de> Deserialize<'de> for ArtifactInfo
impl<'de> Deserialize<'de> for ArtifactInfo
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 ArtifactInfo
impl RefUnwindSafe for ArtifactInfo
impl Send for ArtifactInfo
impl Sync for ArtifactInfo
impl Unpin for ArtifactInfo
impl UnsafeUnpin for ArtifactInfo
impl UnwindSafe for ArtifactInfo
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