pub struct ResponseMcpCallCompletedEvent {
pub item_id: String,
pub output_index: i64,
pub sequence_number: i64,
}
Expand description
Emitted when an MCP tool call has completed successfully.
Fields§
§item_id: String
The ID of the MCP tool call item that completed.
output_index: i64
The index of the output item that completed.
sequence_number: i64
The sequence number of this event.
Implementations§
Source§impl ResponseMcpCallCompletedEvent
impl ResponseMcpCallCompletedEvent
Sourcepub fn builder() -> ResponseMcpCallCompletedEventBuilder<((), (), ())>
pub fn builder() -> ResponseMcpCallCompletedEventBuilder<((), (), ())>
Create a builder for building ResponseMcpCallCompletedEvent
.
On the builder, call .item_id(...)
, .output_index(...)
, .sequence_number(...)
to set the values of the fields.
Finally, call .build()
to create the instance of ResponseMcpCallCompletedEvent
.
Trait Implementations§
Source§impl Clone for ResponseMcpCallCompletedEvent
impl Clone for ResponseMcpCallCompletedEvent
Source§fn clone(&self) -> ResponseMcpCallCompletedEvent
fn clone(&self) -> ResponseMcpCallCompletedEvent
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<'de> Deserialize<'de> for ResponseMcpCallCompletedEvent
impl<'de> Deserialize<'de> for ResponseMcpCallCompletedEvent
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 ResponseMcpCallCompletedEvent
impl PartialEq for ResponseMcpCallCompletedEvent
Source§fn eq(&self, other: &ResponseMcpCallCompletedEvent) -> bool
fn eq(&self, other: &ResponseMcpCallCompletedEvent) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ResponseMcpCallCompletedEvent
Auto Trait Implementations§
impl Freeze for ResponseMcpCallCompletedEvent
impl RefUnwindSafe for ResponseMcpCallCompletedEvent
impl Send for ResponseMcpCallCompletedEvent
impl Sync for ResponseMcpCallCompletedEvent
impl Unpin for ResponseMcpCallCompletedEvent
impl UnwindSafe for ResponseMcpCallCompletedEvent
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