pub struct AgentModeContext {
pub active: bool,
}Expand description
Shared process-level agent-mode context.
Fields§
§active: boolWhether agent mode is active for the current process.
Implementations§
Trait Implementations§
Source§impl Clone for AgentModeContext
impl Clone for AgentModeContext
Source§fn clone(&self) -> AgentModeContext
fn clone(&self) -> AgentModeContext
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 AgentModeContext
impl Debug for AgentModeContext
Source§impl PartialEq for AgentModeContext
impl PartialEq for AgentModeContext
impl Copy for AgentModeContext
impl Eq for AgentModeContext
impl StructuralPartialEq for AgentModeContext
Auto Trait Implementations§
impl Freeze for AgentModeContext
impl RefUnwindSafe for AgentModeContext
impl Send for AgentModeContext
impl Sync for AgentModeContext
impl Unpin for AgentModeContext
impl UnsafeUnpin for AgentModeContext
impl UnwindSafe for AgentModeContext
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