pub struct ProvenanceArtifact {
pub relative_path: String,
pub original_filename: String,
pub media_type: String,
pub role: String,
pub byte_length: u64,
pub sha256: String,
}Expand description
Metadata for one stored provenance artifact.
Fields§
§relative_path: StringTwo-component path relative to Kmap::artifact_path.
original_filename: StringOriginal caller-supplied basename.
media_type: StringCaller-supplied media type.
role: StringSemantic role within the provenance record.
byte_length: u64Exact stored byte length.
sha256: StringLowercase hexadecimal SHA-256 digest of the stored bytes.
Trait Implementations§
Source§impl Clone for ProvenanceArtifact
impl Clone for ProvenanceArtifact
Source§fn clone(&self) -> ProvenanceArtifact
fn clone(&self) -> ProvenanceArtifact
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ProvenanceArtifact
impl Debug for ProvenanceArtifact
Auto Trait Implementations§
impl Freeze for ProvenanceArtifact
impl RefUnwindSafe for ProvenanceArtifact
impl Send for ProvenanceArtifact
impl Sync for ProvenanceArtifact
impl Unpin for ProvenanceArtifact
impl UnsafeUnpin for ProvenanceArtifact
impl UnwindSafe for ProvenanceArtifact
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