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