pub struct ResponseMcpCallArgumentsDeltaEvent {
pub output_index: u64,
pub item_id: String,
pub delta: HashMap<String, Value>,
pub sequence_number: u64,
}
Expand description
Emitted when there is a delta (partial update) to the arguments of an MCP tool call.
Fields§
§output_index: u64
The index of the output item in the response’s output array.
item_id: String
The unique identifier of the MCP tool call item being processed.
delta: HashMap<String, Value>
The partial update to the arguments for the MCP tool call.
sequence_number: u64
The sequence number of this event.
Implementations§
Source§impl ResponseMcpCallArgumentsDeltaEvent
impl ResponseMcpCallArgumentsDeltaEvent
Sourcepub fn builder() -> ResponseMcpCallArgumentsDeltaEventBuilder<((), (), (), ())>
pub fn builder() -> ResponseMcpCallArgumentsDeltaEventBuilder<((), (), (), ())>
Create a builder for building ResponseMcpCallArgumentsDeltaEvent
.
On the builder, call .output_index(...)
, .item_id(...)
, .delta(...)
, .sequence_number(...)
to set the values of the fields.
Finally, call .build()
to create the instance of ResponseMcpCallArgumentsDeltaEvent
.
Trait Implementations§
Source§impl Clone for ResponseMcpCallArgumentsDeltaEvent
impl Clone for ResponseMcpCallArgumentsDeltaEvent
Source§fn clone(&self) -> ResponseMcpCallArgumentsDeltaEvent
fn clone(&self) -> ResponseMcpCallArgumentsDeltaEvent
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 ResponseMcpCallArgumentsDeltaEvent
impl<'de> Deserialize<'de> for ResponseMcpCallArgumentsDeltaEvent
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 ResponseMcpCallArgumentsDeltaEvent
impl PartialEq for ResponseMcpCallArgumentsDeltaEvent
Source§fn eq(&self, other: &ResponseMcpCallArgumentsDeltaEvent) -> bool
fn eq(&self, other: &ResponseMcpCallArgumentsDeltaEvent) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ResponseMcpCallArgumentsDeltaEvent
Auto Trait Implementations§
impl Freeze for ResponseMcpCallArgumentsDeltaEvent
impl RefUnwindSafe for ResponseMcpCallArgumentsDeltaEvent
impl Send for ResponseMcpCallArgumentsDeltaEvent
impl Sync for ResponseMcpCallArgumentsDeltaEvent
impl Unpin for ResponseMcpCallArgumentsDeltaEvent
impl UnwindSafe for ResponseMcpCallArgumentsDeltaEvent
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