pub struct ResponseMcpCallFailedEvent {
pub item_id: String,
pub output_index: i64,
pub sequence_number: i64,
}
Expand description
Emitted when an MCP tool call 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 ResponseMcpCallFailedEvent
impl ResponseMcpCallFailedEvent
Sourcepub fn builder() -> ResponseMcpCallFailedEventBuilder<((), (), ())>
pub fn builder() -> ResponseMcpCallFailedEventBuilder<((), (), ())>
Create a builder for building ResponseMcpCallFailedEvent
.
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 ResponseMcpCallFailedEvent
.
Trait Implementations§
Source§impl Clone for ResponseMcpCallFailedEvent
impl Clone for ResponseMcpCallFailedEvent
Source§fn clone(&self) -> ResponseMcpCallFailedEvent
fn clone(&self) -> ResponseMcpCallFailedEvent
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 ResponseMcpCallFailedEvent
impl Debug for ResponseMcpCallFailedEvent
Source§impl<'de> Deserialize<'de> for ResponseMcpCallFailedEvent
impl<'de> Deserialize<'de> for ResponseMcpCallFailedEvent
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
impl StructuralPartialEq for ResponseMcpCallFailedEvent
Auto Trait Implementations§
impl Freeze for ResponseMcpCallFailedEvent
impl RefUnwindSafe for ResponseMcpCallFailedEvent
impl Send for ResponseMcpCallFailedEvent
impl Sync for ResponseMcpCallFailedEvent
impl Unpin for ResponseMcpCallFailedEvent
impl UnwindSafe for ResponseMcpCallFailedEvent
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