pub struct AgentSurfaceSpec {
pub capabilities: &'static [AgentCapability],
}Expand description
Declarative capability surface for a tool.
Fields§
§capabilities: &'static [AgentCapability]Named capabilities visible to the agent surface.
Implementations§
Source§impl AgentSurfaceSpec
impl AgentSurfaceSpec
Sourcepub const fn new(capabilities: &'static [AgentCapability]) -> Self
pub const fn new(capabilities: &'static [AgentCapability]) -> Self
Create a new AgentSurfaceSpec.
Trait Implementations§
Source§impl Clone for AgentSurfaceSpec
impl Clone for AgentSurfaceSpec
Source§fn clone(&self) -> AgentSurfaceSpec
fn clone(&self) -> AgentSurfaceSpec
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 AgentSurfaceSpec
impl Debug for AgentSurfaceSpec
Source§impl PartialEq for AgentSurfaceSpec
impl PartialEq for AgentSurfaceSpec
impl Copy for AgentSurfaceSpec
impl Eq for AgentSurfaceSpec
impl StructuralPartialEq for AgentSurfaceSpec
Auto Trait Implementations§
impl Freeze for AgentSurfaceSpec
impl RefUnwindSafe for AgentSurfaceSpec
impl Send for AgentSurfaceSpec
impl Sync for AgentSurfaceSpec
impl Unpin for AgentSurfaceSpec
impl UnsafeUnpin for AgentSurfaceSpec
impl UnwindSafe for AgentSurfaceSpec
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