pub struct EvalContext<'a> {
pub bundle: &'a ReviewBundle,
pub phase: &'a AgentPhaseState,
pub off_limits_touched: bool,
pub consecutive_failures: u32,
pub current_time: Option<OffsetDateTime>,
}Expand description
Runtime context for evaluating approval conditions.
Fields§
§bundle: &'a ReviewBundle§phase: &'a AgentPhaseState§off_limits_touched: bool§consecutive_failures: u32§current_time: Option<OffsetDateTime>Auto Trait Implementations§
impl<'a> Freeze for EvalContext<'a>
impl<'a> RefUnwindSafe for EvalContext<'a>
impl<'a> Send for EvalContext<'a>
impl<'a> Sync for EvalContext<'a>
impl<'a> Unpin for EvalContext<'a>
impl<'a> UnsafeUnpin for EvalContext<'a>
impl<'a> UnwindSafe for EvalContext<'a>
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