pub struct AtelierToolDescriptor {
pub id: String,
pub title: String,
pub command: String,
pub required_capability: GuardCapability,
pub evidence_kind: String,
pub repo: Option<String>,
}Expand description
Static descriptor for one auditable agent tool.
Fields§
§id: StringStable descriptor id.
title: StringHuman-facing title.
command: StringExact command or command template.
required_capability: GuardCapabilityGuard capability required before action.
evidence_kind: StringDevEnvelope event kind recorded on success.
repo: Option<String>Optional repository scope.
Implementations§
Trait Implementations§
Source§impl Clone for AtelierToolDescriptor
impl Clone for AtelierToolDescriptor
Source§fn clone(&self) -> AtelierToolDescriptor
fn clone(&self) -> AtelierToolDescriptor
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AtelierToolDescriptor
impl Debug for AtelierToolDescriptor
impl Eq for AtelierToolDescriptor
Source§impl PartialEq for AtelierToolDescriptor
impl PartialEq for AtelierToolDescriptor
Source§fn eq(&self, other: &AtelierToolDescriptor) -> bool
fn eq(&self, other: &AtelierToolDescriptor) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AtelierToolDescriptor
Auto Trait Implementations§
impl Freeze for AtelierToolDescriptor
impl RefUnwindSafe for AtelierToolDescriptor
impl Send for AtelierToolDescriptor
impl Sync for AtelierToolDescriptor
impl Unpin for AtelierToolDescriptor
impl UnsafeUnpin for AtelierToolDescriptor
impl UnwindSafe for AtelierToolDescriptor
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