pub struct PartsLibraryEntry {
pub source_key: String,
pub source_signature: String,
pub document: Value,
pub snapshot: String,
pub dirty: bool,
pub doc_hash: u64,
}Expand description
One unique part payload (spec §2.1). dirty is RESIDENT-ONLY state: set by
refresh_library_entry (edit-in-context / update-components), it forces
the ACOMP self-heal lane on the next run even with a readable snapshot, and
clears when the heal rewrites the snapshot.
Fields§
§source_key: String§source_signature: String§document: ValueThe embedded full sub-part history JSON — the durable source the self-heal lane re-executes when the snapshot cache fails.
snapshot: StringThe evaluated part as an io/snapshot payload (the fast lane).
dirty: bool§doc_hash: u64Stable content hash of document, precomputed at insert/refresh/ingest
so the per-feature cache hook never re-hashes a large document.
Trait Implementations§
Source§impl Clone for PartsLibraryEntry
impl Clone for PartsLibraryEntry
Source§fn clone(&self) -> PartsLibraryEntry
fn clone(&self) -> PartsLibraryEntry
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 PartsLibraryEntry
impl Debug for PartsLibraryEntry
Source§impl Default for PartsLibraryEntry
impl Default for PartsLibraryEntry
Source§fn default() -> PartsLibraryEntry
fn default() -> PartsLibraryEntry
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PartsLibraryEntry
impl<'de> Deserialize<'de> for PartsLibraryEntry
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
Auto Trait Implementations§
impl Freeze for PartsLibraryEntry
impl RefUnwindSafe for PartsLibraryEntry
impl Send for PartsLibraryEntry
impl Sync for PartsLibraryEntry
impl Unpin for PartsLibraryEntry
impl UnsafeUnpin for PartsLibraryEntry
impl UnwindSafe for PartsLibraryEntry
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