#[non_exhaustive]pub struct ArtifactHint {
pub tool_name: String,
pub call_block_id: BlockId,
pub kind: ArtifactKind,
}Expand description
Provenance a caller attaches to bytes handed to ArtifactStore::persist,
so the store can label what it receives.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.tool_name: StringThe tool whose output produced the bytes.
call_block_id: BlockIdThe tool call the bytes belong to.
kind: ArtifactKindThe ArtifactKind classification of the bytes.
Implementations§
Source§impl ArtifactHint
impl ArtifactHint
Auto Trait Implementations§
impl Forget for ArtifactHint
impl Freeze for ArtifactHint
impl Move 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