pub trait ToArguments {
// Required method
fn to_arguments(self) -> String;
}Expand description
Tool arguments as either JSON or a raw string, so a test can write the natural thing — and can also script the malformed JSON a real model sometimes emits.
Required Methods§
fn to_arguments(self) -> String
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".