pub struct SubformItemCache {
pub data_versions: VersionTracker,
pub entries: HashMap<String, CacheEntry>,
pub item_snapshot: Value,
pub evaluated_schema: Option<Value>,
}Expand description
Independent cache state for a single item in a subform array
Fields§
§data_versions: VersionTracker§entries: HashMap<String, CacheEntry>§item_snapshot: Value§evaluated_schema: Option<Value>Per-item snapshot of the evaluated schema captured after each evaluate_subform_item. Allows get_evaluated_schema_subform to return the correct per-item values without re-running the full evaluation pipeline in a shared subform context.
Implementations§
Trait Implementations§
Source§impl Clone for SubformItemCache
impl Clone for SubformItemCache
Source§fn clone(&self) -> SubformItemCache
fn clone(&self) -> SubformItemCache
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 Default for SubformItemCache
impl Default for SubformItemCache
Source§fn default() -> SubformItemCache
fn default() -> SubformItemCache
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SubformItemCache
impl RefUnwindSafe for SubformItemCache
impl Send for SubformItemCache
impl Sync for SubformItemCache
impl Unpin for SubformItemCache
impl UnsafeUnpin for SubformItemCache
impl UnwindSafe for SubformItemCache
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