pub struct ContextFrame {
pub data: Value,
pub index: Option<usize>,
pub metadata: Option<HashMap<String, Value>>,
}Expand description
A single frame in the context stack (for temporary/nested contexts)
Fields§
§data: ValueThe data value at this context level
index: Option<usize>Optional index for array iteration (avoids HashMap allocation)
metadata: Option<HashMap<String, Value>>Optional metadata for this frame (e.g., “key” in map operations) Only used when additional metadata beyond index is needed
Auto Trait Implementations§
impl Freeze for ContextFrame
impl RefUnwindSafe for ContextFrame
impl Send for ContextFrame
impl Sync for ContextFrame
impl Unpin for ContextFrame
impl UnwindSafe for ContextFrame
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