pub struct SlotConfig {
pub model: Option<String>,
pub permission_mode: Option<PermissionMode>,
pub max_turns: Option<u32>,
pub system_prompt: Option<String>,
pub allowed_tools: Option<Vec<String>>,
pub mcp_servers: Option<HashMap<String, Value>>,
pub effort: Option<Effort>,
pub role: Option<String>,
pub name: Option<String>,
pub description: Option<String>,
pub slot_assignment_timeout_secs: Option<u64>,
}Expand description
Per-slot configuration overrides.
Any Some field here takes precedence over the corresponding field
in PoolConfig.
Fields§
§model: Option<String>Override model for this slot.
permission_mode: Option<PermissionMode>Override permission mode for this slot.
max_turns: Option<u32>Override max turns for this slot.
system_prompt: Option<String>Override system prompt for this slot.
allowed_tools: Option<Vec<String>>Additional allowed tools (merged with global).
mcp_servers: Option<HashMap<String, Value>>Additional MCP servers (merged with global).
effort: Option<Effort>Override effort level for this slot.
role: Option<String>Optional name/role for this slot (e.g. “reviewer”, “coder”).
name: Option<String>Optional human-readable name for the slot (e.g. “reviewer”, “writer”).
description: Option<String>Optional description of the slot’s purpose or responsibilities.
slot_assignment_timeout_secs: Option<u64>Override slot assignment timeout (in seconds).
Trait Implementations§
Source§impl Clone for SlotConfig
impl Clone for SlotConfig
Source§fn clone(&self) -> SlotConfig
fn clone(&self) -> SlotConfig
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 SlotConfig
impl Debug for SlotConfig
Source§impl Default for SlotConfig
impl Default for SlotConfig
Source§fn default() -> SlotConfig
fn default() -> SlotConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SlotConfig
impl<'de> Deserialize<'de> for SlotConfig
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 Freeze for SlotConfig
impl RefUnwindSafe for SlotConfig
impl Send for SlotConfig
impl Sync for SlotConfig
impl Unpin for SlotConfig
impl UnsafeUnpin for SlotConfig
impl UnwindSafe for SlotConfig
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