pub struct Steering {
pub declined: bool,
pub shell_hooks: bool,
}Expand description
How LeanCTX steers a client’s agent, as the caller’s config sees it.
Fields§
§declined: boolThe user declined rule steering (rules_injection = off or
setup.auto_inject_rules = false): no line, since every fix we could
name would steer.
shell_hooks: boolThe agent’s shell hooks route commands through LeanCTX, which an MCP call count cannot see.
Trait Implementations§
impl Copy for Steering
impl Eq for Steering
impl StructuralPartialEq for Steering
Auto Trait Implementations§
impl Forget for Steering
impl Freeze for Steering
impl Move for Steering
impl RefUnwindSafe for Steering
impl Send for Steering
impl Sync for Steering
impl Unpin for Steering
impl UnsafeUnpin for Steering
impl UnwindSafe for Steering
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