pub struct ToolInputGenerationResponse {
pub arguments: Option<HashMap<String, Value>>,
pub error: Option<String>,
pub successful: bool,
}Expand description
Tool input generation response
Fields§
§arguments: Option<HashMap<String, Value>>Generated arguments
error: Option<String>Error message if generation failed
successful: boolWhether generation was successful
Trait Implementations§
Source§impl Clone for ToolInputGenerationResponse
impl Clone for ToolInputGenerationResponse
Source§fn clone(&self) -> ToolInputGenerationResponse
fn clone(&self) -> ToolInputGenerationResponse
Returns a duplicate of the value. Read more
1.0.0 · 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 ToolInputGenerationResponse
impl Debug for ToolInputGenerationResponse
Source§impl<'de> Deserialize<'de> for ToolInputGenerationResponse
impl<'de> Deserialize<'de> for ToolInputGenerationResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ToolInputGenerationResponse
impl RefUnwindSafe for ToolInputGenerationResponse
impl Send for ToolInputGenerationResponse
impl Sync for ToolInputGenerationResponse
impl Unpin for ToolInputGenerationResponse
impl UnsafeUnpin for ToolInputGenerationResponse
impl UnwindSafe for ToolInputGenerationResponse
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