pub struct McpToolCallItem {
pub id: String,
pub server: String,
pub tool: String,
pub arguments: Value,
pub result: Option<McpToolCallResult>,
pub error: Option<McpToolCallError>,
pub status: McpToolCallStatus,
}Expand description
An MCP tool call item.
Fields§
§id: String§server: String§tool: String§arguments: Value§result: Option<McpToolCallResult>§error: Option<McpToolCallError>§status: McpToolCallStatusTrait Implementations§
Source§impl Clone for McpToolCallItem
impl Clone for McpToolCallItem
Source§fn clone(&self) -> McpToolCallItem
fn clone(&self) -> McpToolCallItem
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 McpToolCallItem
impl Debug for McpToolCallItem
Source§impl<'de> Deserialize<'de> for McpToolCallItem
impl<'de> Deserialize<'de> for McpToolCallItem
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 McpToolCallItem
impl RefUnwindSafe for McpToolCallItem
impl Send for McpToolCallItem
impl Sync for McpToolCallItem
impl Unpin for McpToolCallItem
impl UnsafeUnpin for McpToolCallItem
impl UnwindSafe for McpToolCallItem
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