pub struct AgentPreset {
pub name: &'static str,
pub run_template: &'static str,
pub plan_template: &'static str,
pub version_cmd: &'static str,
}Expand description
A known agent preset with command templates.
Fields§
§name: &'static strAgent name (e.g. “pi”, “claude”, “aider”).
run_template: &'static strTemplate for running/implementing a unit. Contains {id} placeholder.
plan_template: &'static strTemplate for planning/splitting a unit. Contains {id} placeholder.
version_cmd: &'static strCommand to check the agent version (e.g. pi --version).
Implementations§
Trait Implementations§
Source§impl Clone for AgentPreset
impl Clone for AgentPreset
Source§fn clone(&self) -> AgentPreset
fn clone(&self) -> AgentPreset
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 AgentPreset
impl Debug for AgentPreset
Source§impl PartialEq for AgentPreset
impl PartialEq for AgentPreset
impl StructuralPartialEq for AgentPreset
Auto Trait Implementations§
impl Freeze for AgentPreset
impl RefUnwindSafe for AgentPreset
impl Send for AgentPreset
impl Sync for AgentPreset
impl Unpin for AgentPreset
impl UnsafeUnpin for AgentPreset
impl UnwindSafe for AgentPreset
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more