pub struct AgentCapabilities {
pub session_resume: bool,
pub token_usage: bool,
pub mcp_support: bool,
pub autonomous_mode: bool,
pub structured_output: bool,
}Expand description
Capability flags for a provider implementation.
Fields§
§session_resume: boolCan resume/fork from an existing session.
token_usage: boolExposes token usage information.
mcp_support: boolSupports MCP tool integration.
autonomous_mode: boolCan run autonomously (bash, file ops).
structured_output: boolSupports structured output via JSON Schema.
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