pub struct VolatileMetadata {
pub created_at: String,
pub tool_version: String,
}Expand description
Volatile, NEVER-hashed metadata.
§Why created_at is a caller-supplied string
This crate reads no clock, just as it opens no file (D-04). A timestamp minted inside
the library would be ambient input the caller cannot control, which is exactly what
makes a “deterministic” artifact irreproducible. from_selection therefore leaves
created_at empty and the CLI fills it in; the field is outside the hashed region, so
filling it changes no digest.
Fields§
§created_at: StringWhen the manifest was written, in whatever format the caller records. Never hashed.
tool_version: StringThe tool version that wrote it. Never hashed.
Trait Implementations§
Source§impl Clone for VolatileMetadata
impl Clone for VolatileMetadata
Source§impl Debug for VolatileMetadata
impl Debug for VolatileMetadata
Source§impl<'de> Deserialize<'de> for VolatileMetadata
impl<'de> Deserialize<'de> for VolatileMetadata
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
impl Eq for VolatileMetadata
Source§impl PartialEq for VolatileMetadata
impl PartialEq for VolatileMetadata
Source§impl Serialize for VolatileMetadata
impl Serialize for VolatileMetadata
impl StructuralPartialEq for VolatileMetadata
Auto Trait Implementations§
impl Freeze for VolatileMetadata
impl RefUnwindSafe for VolatileMetadata
impl Send for VolatileMetadata
impl Sync for VolatileMetadata
impl Unpin for VolatileMetadata
impl UnsafeUnpin for VolatileMetadata
impl UnwindSafe for VolatileMetadata
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