pub struct AgentRequest {
pub agents: Vec<String>,
pub global: bool,
pub unlink: bool,
pub migrate: bool,
}Expand description
Request for Manager::agent — one entry point mirroring the agent CLI command.
Default links the auto-detected installed agents at project scope.
Fields§
§agents: Vec<String>"*" or specific agent names; empty = auto-detect installed agents.
global: boolLink global skills dirs instead of project ones.
unlink: boolUnlink (disconnect) the agents’ skills dirs instead of linking them.
migrate: boolMove existing skills into the canonical dir when linking (also pulls skills parked in the backup slot of an already linked agent).
Trait Implementations§
Source§impl Clone for AgentRequest
impl Clone for AgentRequest
Source§fn clone(&self) -> AgentRequest
fn clone(&self) -> AgentRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AgentRequest
impl Debug for AgentRequest
Source§impl Default for AgentRequest
impl Default for AgentRequest
Source§fn default() -> AgentRequest
fn default() -> AgentRequest
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AgentRequest
impl RefUnwindSafe for AgentRequest
impl Send for AgentRequest
impl Sync for AgentRequest
impl Unpin for AgentRequest
impl UnsafeUnpin for AgentRequest
impl UnwindSafe for AgentRequest
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