pub struct AgentCommands {
pub claude_code: Option<String>,
pub codex: Option<String>,
}Expand description
[agents]: the executable to run for an agent instead of the default.
Fields§
§claude_code: Option<String>§codex: Option<String>Implementations§
Source§impl AgentCommands
impl AgentCommands
Sourcepub fn program_for(&self, agent: Agent) -> Option<String>
pub fn program_for(&self, agent: Agent) -> Option<String>
The configured executable for agent, if any.
Trait Implementations§
Source§impl Debug for AgentCommands
impl Debug for AgentCommands
Source§impl Default for AgentCommands
impl Default for AgentCommands
Source§impl<'de> Deserialize<'de> for AgentCommands
impl<'de> Deserialize<'de> for AgentCommands
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Forget for AgentCommands
impl Freeze for AgentCommands
impl Move for AgentCommands
impl RefUnwindSafe for AgentCommands
impl Send for AgentCommands
impl Sync for AgentCommands
impl Unpin for AgentCommands
impl UnsafeUnpin for AgentCommands
impl UnwindSafe for AgentCommands
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