pub struct LeafSpec {
pub id: String,
pub prompt: String,
pub agent_type: AgentType,
pub profile: Option<String>,
pub mode: TaskMode,
pub isolation: IsolationMode,
pub file_scope: Vec<String>,
pub depends_on_results: Vec<String>,
pub budget: BudgetSpec,
pub permissions: PermissionSpec,
pub model_policy: ModelPolicy,
}Fields§
§id: String§prompt: String§agent_type: AgentType§profile: Option<String>Named Fleet roster profile this agent should run as. Resolved against the saved Fleet roster at dispatch time; unknown names fail validation before any spawn. When set, role/model/loadout defaults come from the roster member; explicit fields on this spec override the profile.
mode: TaskMode§isolation: IsolationMode§file_scope: Vec<String>§depends_on_results: Vec<String>§budget: BudgetSpec§permissions: PermissionSpec§model_policy: ModelPolicyTrait Implementations§
Source§impl<'de> Deserialize<'de> for LeafSpec
impl<'de> Deserialize<'de> for LeafSpec
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
impl Eq for LeafSpec
impl StructuralPartialEq for LeafSpec
Auto Trait Implementations§
impl Freeze for LeafSpec
impl RefUnwindSafe for LeafSpec
impl Send for LeafSpec
impl Sync for LeafSpec
impl Unpin for LeafSpec
impl UnsafeUnpin for LeafSpec
impl UnwindSafe for LeafSpec
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