pub struct Artifact {
pub resource_uri: String,
pub change_type: ChangeType,
pub diff_ref: String,
pub tests_run: Vec<String>,
pub disposition: ArtifactDisposition,
pub rationale: Option<String>,
pub dependencies: Vec<ChangeDependency>,
pub explanation_tiers: Option<ExplanationTiers>,
pub comments: Option<CommentThread>,
pub amendment: Option<AmendmentRecord>,
pub kind: Option<ArtifactKind>,
}Expand description
A local filesystem change artifact.
Fields§
§resource_uri: String§change_type: ChangeType§diff_ref: String§tests_run: Vec<String>§disposition: ArtifactDispositionPer-artifact review disposition (defaults to Pending).
rationale: Option<String>Why this change was made (from agent’s change_summary.json).
dependencies: Vec<ChangeDependency>Dependencies: other artifacts this one requires or is required by.
explanation_tiers: Option<ExplanationTiers>Three-tier explanation (summary, explanation, tags) from sidecar YAML (v0.2.3).
comments: Option<CommentThread>Comment thread for this artifact (v0.3.0 — Review Sessions). Comments from ReviewSession are merged here during draft finalization.
amendment: Option<AmendmentRecord>Amendment record if this artifact was amended after initial creation (v0.3.4).
kind: Option<ArtifactKind>Semantic kind of the artifact (v0.14.15). When present, the renderer uses kind-specific display logic (e.g. image artifacts suppress the binary diff and show a human-readable frame/resolution summary).
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
Auto Trait Implementations§
impl Freeze for Artifact
impl RefUnwindSafe for Artifact
impl Send for Artifact
impl Sync for Artifact
impl Unpin for Artifact
impl UnsafeUnpin 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