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 AcpConfigwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<String>: Freeze,
*const LeafNode<String, String> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, String)>>: Freeze,
impl Move for AcpConfig
impl RefUnwindSafe for AcpConfig
impl Send for AcpConfig
impl Sync for AcpConfig
impl Unpin for AcpConfig
impl UnsafeUnpin for AcpConfigwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
*const LeafNode<String, String> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, String)>>: UnsafeUnpin,
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