pub struct AgentCapabilities {
pub session_fork: bool,
pub context_usage: bool,
pub mcp_support: bool,
pub structured_output: bool,
}Expand description
Capability declaration for one executor implementation.
Use this to detect optional behavior before relying on it in higher-level orchestration code.
Fields§
§session_fork: boolWhether the executor can fork from an existing session history.
context_usage: boolWhether context/token usage events are exposed.
mcp_support: boolWhether Model Context Protocol (MCP) tool calls are supported.
structured_output: boolWhether structured output is supported.
Trait Implementations§
Source§impl Clone for AgentCapabilities
impl Clone for AgentCapabilities
Source§fn clone(&self) -> AgentCapabilities
fn clone(&self) -> AgentCapabilities
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 moreAuto Trait Implementations§
impl Freeze for AgentCapabilities
impl RefUnwindSafe for AgentCapabilities
impl Send for AgentCapabilities
impl Sync for AgentCapabilities
impl Unpin for AgentCapabilities
impl UnsafeUnpin for AgentCapabilities
impl UnwindSafe for AgentCapabilities
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