pub struct ArtifactMeta {
pub input_hash: InputHash,
pub identity: BuildIdentity,
}Expand description
Metadata persisted alongside every cached artifact in the CAS, and the payload the dev server consumes to decide whether to hot-reload the browser.
Holds the full BuildIdentity (provenance: answers “what exactly is this”)
plus the derived InputHash (the CAS key it is stored under).
Fields§
§input_hash: InputHashThe CAS key this artifact is stored under.
identity: BuildIdentityThe full input identity that produced it (provenance).
Trait Implementations§
Source§impl Clone for ArtifactMeta
impl Clone for ArtifactMeta
Source§fn clone(&self) -> ArtifactMeta
fn clone(&self) -> ArtifactMeta
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 ArtifactMeta
impl Debug for ArtifactMeta
impl Eq for ArtifactMeta
Source§impl PartialEq for ArtifactMeta
impl PartialEq for ArtifactMeta
impl StructuralPartialEq for ArtifactMeta
Auto Trait Implementations§
impl Freeze for ArtifactMeta
impl RefUnwindSafe for ArtifactMeta
impl Send for ArtifactMeta
impl Sync for ArtifactMeta
impl Unpin for ArtifactMeta
impl UnsafeUnpin for ArtifactMeta
impl UnwindSafe for ArtifactMeta
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