pub struct ResponseMcpCallInProgressEvent {
pub sequence_number: i64,
pub output_index: i64,
pub item_id: String,
}Expand description
Emitted when an MCP tool call is in progress.
Fields§
§sequence_number: i64The sequence number of this event.
output_index: i64The index of the output item in the response’s output array.
item_id: StringThe unique identifier of the MCP tool call item being processed.
Implementations§
Source§impl ResponseMcpCallInProgressEvent
impl ResponseMcpCallInProgressEvent
Sourcepub fn builder() -> ResponseMcpCallInProgressEventBuilder<((), (), ())>
pub fn builder() -> ResponseMcpCallInProgressEventBuilder<((), (), ())>
Create a builder for building ResponseMcpCallInProgressEvent.
On the builder, call .sequence_number(...), .output_index(...), .item_id(...) to set the values of the fields.
Finally, call .build() to create the instance of ResponseMcpCallInProgressEvent.
Trait Implementations§
Source§impl Clone for ResponseMcpCallInProgressEvent
impl Clone for ResponseMcpCallInProgressEvent
Source§fn clone(&self) -> ResponseMcpCallInProgressEvent
fn clone(&self) -> ResponseMcpCallInProgressEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ResponseMcpCallInProgressEvent
impl<'de> Deserialize<'de> for ResponseMcpCallInProgressEvent
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 ResponseMcpCallInProgressEvent
Auto Trait Implementations§
impl Freeze for ResponseMcpCallInProgressEvent
impl RefUnwindSafe for ResponseMcpCallInProgressEvent
impl Send for ResponseMcpCallInProgressEvent
impl Sync for ResponseMcpCallInProgressEvent
impl Unpin for ResponseMcpCallInProgressEvent
impl UnsafeUnpin for ResponseMcpCallInProgressEvent
impl UnwindSafe for ResponseMcpCallInProgressEvent
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