pub struct ToolArgShape {
pub string_args: HashSet<String>,
pub properties: HashMap<String, Value>,
pub parameter_order: Vec<String>,
}Expand description
Per-tool argument shape derived from its JSON Schema.
Fields§
§string_args: HashSet<String>Argument names whose schema is string-only (emit/parse verbatim).
properties: HashMap<String, Value>The properties map from the schema (for order/lookup).
parameter_order: Vec<String>Parameter declaration order.
Trait Implementations§
Source§impl Clone for ToolArgShape
impl Clone for ToolArgShape
Source§fn clone(&self) -> ToolArgShape
fn clone(&self) -> ToolArgShape
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 ToolArgShape
impl Debug for ToolArgShape
Source§impl Default for ToolArgShape
impl Default for ToolArgShape
Source§fn default() -> ToolArgShape
fn default() -> ToolArgShape
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ToolArgShape
impl RefUnwindSafe for ToolArgShape
impl Send for ToolArgShape
impl Sync for ToolArgShape
impl Unpin for ToolArgShape
impl UnsafeUnpin for ToolArgShape
impl UnwindSafe for ToolArgShape
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