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