pub struct PhasePolicy {
pub allow_tool_filter_mutation: bool,
pub allow_run_action_mutation: bool,
pub allow_tool_gate_mutation: bool,
}Expand description
Mutation policy enforced for each phase.
Fields§
§allow_tool_filter_mutation: boolWhether tool filtering (StepContext::tools) can be mutated.
allow_run_action_mutation: boolWhether StepContext::run_action can be mutated.
allow_tool_gate_mutation: boolWhether tool execution gate (blocked/pending) can be mutated.
Implementations§
Source§impl PhasePolicy
impl PhasePolicy
Trait Implementations§
Source§impl Clone for PhasePolicy
impl Clone for PhasePolicy
Source§fn clone(&self) -> PhasePolicy
fn clone(&self) -> PhasePolicy
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 Debug for PhasePolicy
impl Debug for PhasePolicy
Source§impl PartialEq for PhasePolicy
impl PartialEq for PhasePolicy
impl Copy for PhasePolicy
impl Eq for PhasePolicy
impl StructuralPartialEq for PhasePolicy
Auto Trait Implementations§
impl Freeze for PhasePolicy
impl RefUnwindSafe for PhasePolicy
impl Send for PhasePolicy
impl Sync for PhasePolicy
impl Unpin for PhasePolicy
impl UnsafeUnpin for PhasePolicy
impl UnwindSafe for PhasePolicy
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.