pub struct RealtimeMCPToolCall {
pub arguments: String,
pub id: String,
pub name: String,
pub server_label: String,
pub approval_request_id: Option<String>,
pub error: Option<RealtimeMCPToolCallError>,
pub output: Option<String>,
}Fields§
§arguments: StringA JSON string of the arguments passed to the tool.
id: StringThe unique ID of the tool call.
name: StringThe name of the tool that was run.
server_label: StringThe label of the MCP server running the tool.
approval_request_id: Option<String>The ID of an associated approval request, if any.
error: Option<RealtimeMCPToolCallError>The error from the tool call, if any.
output: Option<String>The output from the tool call.
Trait Implementations§
Source§impl Clone for RealtimeMCPToolCall
impl Clone for RealtimeMCPToolCall
Source§fn clone(&self) -> RealtimeMCPToolCall
fn clone(&self) -> RealtimeMCPToolCall
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 RealtimeMCPToolCall
impl Debug for RealtimeMCPToolCall
Source§impl<'de> Deserialize<'de> for RealtimeMCPToolCall
impl<'de> Deserialize<'de> for RealtimeMCPToolCall
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<RealtimeMCPToolCall, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<RealtimeMCPToolCall, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for RealtimeMCPToolCall
impl Serialize for RealtimeMCPToolCall
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for RealtimeMCPToolCall
impl RefUnwindSafe for RealtimeMCPToolCall
impl Send for RealtimeMCPToolCall
impl Sync for RealtimeMCPToolCall
impl Unpin for RealtimeMCPToolCall
impl UnsafeUnpin for RealtimeMCPToolCall
impl UnwindSafe for RealtimeMCPToolCall
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