pub struct ArtifactInfo {
pub path: String,
pub blake3_first8: String,
}Expand description
Artifact information for status output.
Represents a single artifact file with its path and truncated BLAKE3 hash.
Used in StatusOutput to list all artifacts for a spec.
§Example
use xchecker_utils::types::ArtifactInfo;
let artifact = ArtifactInfo {
path: "artifacts/00-requirements.md".to_string(),
blake3_first8: "a1b2c3d4".to_string(),
};Fields§
§path: StringPath to the artifact relative to the spec directory.
blake3_first8: StringFirst 8 characters of the BLAKE3 hash of the canonicalized content.
Trait Implementations§
Source§impl Clone for ArtifactInfo
impl Clone for ArtifactInfo
Source§fn clone(&self) -> ArtifactInfo
fn clone(&self) -> ArtifactInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ArtifactInfo
impl Debug for ArtifactInfo
Source§impl<'de> Deserialize<'de> for ArtifactInfo
impl<'de> Deserialize<'de> for ArtifactInfo
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 ArtifactInfo
impl RefUnwindSafe for ArtifactInfo
impl Send for ArtifactInfo
impl Sync for ArtifactInfo
impl Unpin for ArtifactInfo
impl UnsafeUnpin for ArtifactInfo
impl UnwindSafe for ArtifactInfo
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