pub struct ToolInfo {
pub name: String,
pub description: String,
pub parameters: Value,
pub exposure: Exposure,
pub namespace: Option<Namespace>,
}Expand description
pi’s ToolInfo: a tool as extensions see it.
Fields§
§name: StringName.
description: StringDescription.
parameters: ValueArgument schema.
exposure: ExposureHow it reaches the model.
namespace: Option<Namespace>Its group.
Trait Implementations§
impl StructuralPartialEq for ToolInfo
Auto Trait Implementations§
impl Freeze for ToolInfo
impl RefUnwindSafe for ToolInfo
impl Send for ToolInfo
impl Sync for ToolInfo
impl Unpin for ToolInfo
impl UnsafeUnpin for ToolInfo
impl UnwindSafe for ToolInfo
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