pub struct McpToolCallBeginEvent {
pub call_id: String,
pub invocation: McpInvocation,
}
Fields§
§call_id: String
Identifier so this can be paired with the McpToolCallEnd event.
invocation: McpInvocation
Trait Implementations§
Source§impl Clone for McpToolCallBeginEvent
impl Clone for McpToolCallBeginEvent
Source§fn clone(&self) -> McpToolCallBeginEvent
fn clone(&self) -> McpToolCallBeginEvent
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 McpToolCallBeginEvent
impl Debug for McpToolCallBeginEvent
Source§impl<'de> Deserialize<'de> for McpToolCallBeginEvent
impl<'de> Deserialize<'de> for McpToolCallBeginEvent
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 McpToolCallBeginEvent
impl RefUnwindSafe for McpToolCallBeginEvent
impl Send for McpToolCallBeginEvent
impl Sync for McpToolCallBeginEvent
impl Unpin for McpToolCallBeginEvent
impl UnwindSafe for McpToolCallBeginEvent
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