pub struct EffectPolicy {
pub approve_at: Option<Effect>,
}Expand description
Requires human approval for every call at or above approve_at.
The default gates irreversible tools.
Fields§
§approve_at: Option<Effect>Trait Implementations§
Source§impl Clone for EffectPolicy
impl Clone for EffectPolicy
Source§impl Debug for EffectPolicy
impl Debug for EffectPolicy
Source§impl Default for EffectPolicy
impl Default for EffectPolicy
Auto Trait Implementations§
impl Freeze for EffectPolicy
impl RefUnwindSafe for EffectPolicy
impl Send for EffectPolicy
impl Sync for EffectPolicy
impl Unpin for EffectPolicy
impl UnsafeUnpin for EffectPolicy
impl UnwindSafe for EffectPolicy
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