pub struct ArtifactFile {
pub path: String,
pub size: u64,
pub blake3: String,
}Expand description
One payload file in an ExportManifest.
Fields§
§path: StringPath relative to the artifact root, /-separated, always under data/.
size: u64Size in bytes.
blake3: StringLowercase-hex BLAKE3 digest of the file contents. (BLAKE3 over SHA-256: there is no interop constraint — slipstream writes and reads its own manifests — and artifacts reach GBs, where BLAKE3’s SIMD hashing is several times faster.)
Trait Implementations§
Source§impl Clone for ArtifactFile
impl Clone for ArtifactFile
Source§fn clone(&self) -> ArtifactFile
fn clone(&self) -> ArtifactFile
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 moreAuto Trait Implementations§
impl Freeze for ArtifactFile
impl RefUnwindSafe for ArtifactFile
impl Send for ArtifactFile
impl Sync for ArtifactFile
impl Unpin for ArtifactFile
impl UnsafeUnpin for ArtifactFile
impl UnwindSafe for ArtifactFile
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