pub struct ToolVocabulary {
pub write_tools: Vec<String>,
pub patch_tools: Vec<String>,
pub shell_tools: Vec<String>,
pub read_tools: Vec<String>,
}Expand description
One harness’s tool-name vocabulary: every name its guard hook payloads or
transcript parser can produce, grouped by role. Consumers match against the
union across all harnesses (all_tool_vocabulary).
Fields§
§write_tools: Vec<String>Tools that write the filesystem with a single target path argument.
patch_tools: Vec<String>apply_patch-style tools whose payload carries multiple patch targets.
shell_tools: Vec<String>Shell-execution tools carrying a command argument.
read_tools: Vec<String>Read-only tools carrying a target path argument.
Trait Implementations§
Source§impl Clone for ToolVocabulary
impl Clone for ToolVocabulary
Source§fn clone(&self) -> ToolVocabulary
fn clone(&self) -> ToolVocabulary
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 ToolVocabulary
impl Debug for ToolVocabulary
Source§impl Default for ToolVocabulary
impl Default for ToolVocabulary
Source§fn default() -> ToolVocabulary
fn default() -> ToolVocabulary
Returns the “default value” for a type. Read more
impl Eq for ToolVocabulary
Source§impl PartialEq for ToolVocabulary
impl PartialEq for ToolVocabulary
impl StructuralPartialEq for ToolVocabulary
Auto Trait Implementations§
impl Freeze for ToolVocabulary
impl RefUnwindSafe for ToolVocabulary
impl Send for ToolVocabulary
impl Sync for ToolVocabulary
impl Unpin for ToolVocabulary
impl UnsafeUnpin for ToolVocabulary
impl UnwindSafe for ToolVocabulary
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.