pub struct McpToolCallResponse {
pub result: Option<Box<McpToolCallResponseResult>>,
pub error: Option<String>,
pub reason_code: Option<String>,
pub args_hash: Option<String>,
pub proofgraph_node: Option<String>,
pub receipt_id: Option<String>,
}Fields§
§result: Option<Box<McpToolCallResponseResult>>§error: Option<String>§reason_code: Option<String>§args_hash: Option<String>§proofgraph_node: Option<String>§receipt_id: Option<String>Implementations§
Source§impl McpToolCallResponse
impl McpToolCallResponse
pub fn new() -> McpToolCallResponse
Trait Implementations§
Source§impl Clone for McpToolCallResponse
impl Clone for McpToolCallResponse
Source§fn clone(&self) -> McpToolCallResponse
fn clone(&self) -> McpToolCallResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 McpToolCallResponse
impl Debug for McpToolCallResponse
Source§impl Default for McpToolCallResponse
impl Default for McpToolCallResponse
Source§fn default() -> McpToolCallResponse
fn default() -> McpToolCallResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for McpToolCallResponse
impl<'de> Deserialize<'de> for McpToolCallResponse
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
Source§impl PartialEq for McpToolCallResponse
impl PartialEq for McpToolCallResponse
Source§fn eq(&self, other: &McpToolCallResponse) -> bool
fn eq(&self, other: &McpToolCallResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for McpToolCallResponse
impl Serialize for McpToolCallResponse
impl StructuralPartialEq for McpToolCallResponse
Auto Trait Implementations§
impl Freeze for McpToolCallResponse
impl RefUnwindSafe for McpToolCallResponse
impl Send for McpToolCallResponse
impl Sync for McpToolCallResponse
impl Unpin for McpToolCallResponse
impl UnsafeUnpin for McpToolCallResponse
impl UnwindSafe for McpToolCallResponse
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