pub struct ArtifactRow {
pub id: String,
pub path: String,
pub kind: String,
pub content_hash: String,
pub shippable: bool,
pub producer: String,
pub provenance: String,
pub trust_label: String,
pub verdict: Option<ArtifactVerdict>,
pub approvals: Vec<ArtifactApproval>,
pub meta: String,
pub created_at: String,
}Expand description
A trust-bearing artifact record (P2 §15). The trust fields (shippable, verdict, approvals) are
only settable through the gated artifact_trust tools (A3).
trust_label is a storage-level trust propagation field (Row 12 follow-up).
Defaults to "unreviewed"; the artifact_trust tool family is the only
legitimate way to change it post-creation. Downstream consumers
(compaction, evidence graph, runtime panels) read the label to gate
which contexts may see the artifact body.
Note: effective_verdict and effective_approvals (A4 hash-binding) are computed properties
in C# marked [JsonIgnore] — they are not serialized and have no Rust equivalent here.
Consumers that need hash-binding logic should implement it themselves using content_hash.
Fields§
§id: String§path: String§kind: String§content_hash: String§shippable: bool§producer: String§provenance: String§trust_label: String§verdict: Option<ArtifactVerdict>§approvals: Vec<ArtifactApproval>§meta: String§created_at: StringTrait Implementations§
Source§impl Clone for ArtifactRow
impl Clone for ArtifactRow
Source§impl Debug for ArtifactRow
impl Debug for ArtifactRow
Source§impl<'de> Deserialize<'de> for ArtifactRow
impl<'de> Deserialize<'de> for ArtifactRow
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 ArtifactRow
impl RefUnwindSafe for ArtifactRow
impl Send for ArtifactRow
impl Sync for ArtifactRow
impl Unpin for ArtifactRow
impl UnsafeUnpin for ArtifactRow
impl UnwindSafe for ArtifactRow
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