pub struct ArtifactMetadata {
pub key: ArtifactKey,
pub rlib_sha256: String,
pub rmeta_sha256: Option<String>,
pub has_native_artifacts: bool,
pub built_at: String,
pub builder_run_id: u64,
pub stow_version: String,
}Expand description
Metadata stored in OCI manifest alongside the artifact.
Fields§
§key: ArtifactKeySemantic identity of the artifact.
rlib_sha256: StringSHA-256 of the .rlib payload, hex-encoded.
rmeta_sha256: Option<String>SHA-256 of the .rmeta payload when the artifact carries one.
has_native_artifacts: boolWhether the bundle includes native (C/C++) build-script outputs.
built_at: StringTimestamp of when the trusted build produced the artifact.
builder_run_id: u64GitHub Actions run id of the producing workflow.
stow_version: StringVersion of stow that produced the bundle.
Trait Implementations§
Source§impl Clone for ArtifactMetadata
impl Clone for ArtifactMetadata
Source§impl Debug for ArtifactMetadata
impl Debug for ArtifactMetadata
Source§impl<'de> Deserialize<'de> for ArtifactMetadata
impl<'de> Deserialize<'de> for ArtifactMetadata
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 ArtifactMetadata
impl RefUnwindSafe for ArtifactMetadata
impl Send for ArtifactMetadata
impl Sync for ArtifactMetadata
impl Unpin for ArtifactMetadata
impl UnsafeUnpin for ArtifactMetadata
impl UnwindSafe for ArtifactMetadata
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