pub struct ArtifactHint {
pub tool_name: String,
pub call_id: ToolCallId,
pub kind: ArtifactKind,
}Expand description
Provenance a caller attaches to bytes handed to ArtifactStore::persist,
so the store can label what it receives.
Fields§
§tool_name: StringThe tool whose output produced the bytes.
call_id: ToolCallIdThe tool call the bytes belong to.
kind: ArtifactKindThe ArtifactKind classification of the bytes.
Auto Trait Implementations§
impl Freeze for ArtifactHint
impl RefUnwindSafe for ArtifactHint
impl Send for ArtifactHint
impl Sync for ArtifactHint
impl Unpin for ArtifactHint
impl UnsafeUnpin for ArtifactHint
impl UnwindSafe for ArtifactHint
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