pub struct RapToolDescriptor {
pub name: String,
pub description: String,
pub parameters: Value,
pub display_script: Option<String>,
}Expand description
The model-facing surface of one RAP tool, copied from a toolset manifest
entry. Embedding-specific tool types hold one of these and delegate their
Tool metadata methods to it, so the manifest-to-tool field mapping
lives in exactly one place.
Fields§
§name: String§description: String§parameters: Value§display_script: Option<String>Trait Implementations§
Source§impl Clone for RapToolDescriptor
impl Clone for RapToolDescriptor
Auto Trait Implementations§
impl Freeze for RapToolDescriptor
impl RefUnwindSafe for RapToolDescriptor
impl Send for RapToolDescriptor
impl Sync for RapToolDescriptor
impl Unpin for RapToolDescriptor
impl UnsafeUnpin for RapToolDescriptor
impl UnwindSafe for RapToolDescriptor
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