pub struct ToolExecutionResponse {
pub data: Value,
pub error: Option<String>,
pub log_id: String,
}Expand description
Response from tool execution
Fields§
§data: Value§error: Option<String>§log_id: StringTrait Implementations§
Source§impl Clone for ToolExecutionResponse
impl Clone for ToolExecutionResponse
Source§fn clone(&self) -> ToolExecutionResponse
fn clone(&self) -> ToolExecutionResponse
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 ToolExecutionResponse
impl Debug for ToolExecutionResponse
Source§impl<'de> Deserialize<'de> for ToolExecutionResponse
impl<'de> Deserialize<'de> for ToolExecutionResponse
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 ToolExecutionResponse
impl RefUnwindSafe for ToolExecutionResponse
impl Send for ToolExecutionResponse
impl Sync for ToolExecutionResponse
impl Unpin for ToolExecutionResponse
impl UnsafeUnpin for ToolExecutionResponse
impl UnwindSafe for ToolExecutionResponse
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