pub struct ToolTestResult {
pub status: String,
pub output: Option<Value>,
pub error: Option<String>,
pub execution_time_ms: Option<u64>,
}Expand description
Tool test result
Fields§
§status: StringTest status (passed/failed)
output: Option<Value>Test output
error: Option<String>Error message (if failed)
execution_time_ms: Option<u64>Execution time in milliseconds
Trait Implementations§
Source§impl Clone for ToolTestResult
impl Clone for ToolTestResult
Source§fn clone(&self) -> ToolTestResult
fn clone(&self) -> ToolTestResult
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 ToolTestResult
impl Debug for ToolTestResult
Source§impl<'de> Deserialize<'de> for ToolTestResult
impl<'de> Deserialize<'de> for ToolTestResult
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 ToolTestResult
impl RefUnwindSafe for ToolTestResult
impl Send for ToolTestResult
impl Sync for ToolTestResult
impl Unpin for ToolTestResult
impl UnwindSafe for ToolTestResult
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