pub struct LockedArtifact {
pub namespace: String,
pub key: String,
pub producer: String,
pub determinism: ArtifactDeterminism,
pub inputs: BTreeMap<String, String>,
pub inputs_hash: String,
pub created_at: String,
pub payload_json: String,
}Expand description
A generic compile-time artifact cached in shape.lock.
Fields§
§namespace: StringNamespace identifying artifact kind (e.g., schema.infer).
key: StringLogical key within namespace (e.g., source path).
producer: StringProducer identifier (e.g., shape-runtime/schema_inference@v1).
determinism: ArtifactDeterminismDeterminism/invalidation policy.
inputs: BTreeMap<String, String>Explicit input components used for invalidation and debugging.
inputs_hash: StringStable hash derived from inputs + determinism policy.
created_at: StringRFC3339 timestamp of artifact creation.
payload_json: StringShape-wire payload encoded as JSON for TOML compatibility.
Implementations§
Trait Implementations§
Source§impl Clone for LockedArtifact
impl Clone for LockedArtifact
Source§fn clone(&self) -> LockedArtifact
fn clone(&self) -> LockedArtifact
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 LockedArtifact
impl Debug for LockedArtifact
Source§impl<'de> Deserialize<'de> for LockedArtifact
impl<'de> Deserialize<'de> for LockedArtifact
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
Source§impl PartialEq for LockedArtifact
impl PartialEq for LockedArtifact
Source§impl Serialize for LockedArtifact
impl Serialize for LockedArtifact
impl StructuralPartialEq for LockedArtifact
Auto Trait Implementations§
impl Freeze for LockedArtifact
impl RefUnwindSafe for LockedArtifact
impl Send for LockedArtifact
impl Sync for LockedArtifact
impl Unpin for LockedArtifact
impl UnsafeUnpin for LockedArtifact
impl UnwindSafe for LockedArtifact
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more