pub struct AcpConfig {
pub agent: AcpAgent,
pub command: Option<String>,
pub args: Option<Vec<String>>,
pub env: BTreeMap<String, String>,
}Expand description
The selected agent, and an optional command that replaces its preset.
Fields§
§agent: AcpAgent§command: Option<String>The executable to run instead of the preset’s. custom requires it.
args: Option<Vec<String>>The arguments to pass instead of the preset’s.
env: BTreeMap<String, String>Extra environment variables for the agent process.
Trait Implementations§
impl Eq for AcpConfig
impl StructuralPartialEq for AcpConfig
Auto Trait Implementations§
impl Forget for AcpConfig
impl Freeze for AcpConfig
impl Move for AcpConfig
impl RefUnwindSafe for AcpConfig
impl Send for AcpConfig
impl Sync for AcpConfig
impl Unpin for AcpConfig
impl UnsafeUnpin for AcpConfig
impl UnwindSafe for AcpConfig
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