pub struct GuardState {
pub artifacts: HashMap<String, String>,
pub outcomes: HashMap<String, StepOutcome>,
}Fields§
§artifacts: HashMap<String, String>Every artifact produced by steps run so far, keyed by their produces name.
Named artifacts rather than slots because IR 0.7 uses “slot” for a named position in
prompt text with alternative wordings — a different thing entirely. The spec has always
called these artifacts: on_flag’s target is documented as a dotted artifact.field.
outcomes: HashMap<String, StepOutcome>Every step’s outcome recorded so far, keyed by step name.
Trait Implementations§
Source§impl Clone for GuardState
impl Clone for GuardState
Source§impl Debug for GuardState
impl Debug for GuardState
Auto Trait Implementations§
impl Freeze for GuardState
impl RefUnwindSafe for GuardState
impl Send for GuardState
impl Sync for GuardState
impl Unpin for GuardState
impl UnsafeUnpin for GuardState
impl UnwindSafe for GuardState
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