pub struct ResponseShellCallCommandAddedStreamingEvent {
pub sequence_number: u64,
pub output_index: u32,
pub command_index: u32,
pub command: String,
}Available on crate feature
response-types only.Expand description
A streaming event that indicated a shell command was added to a tool call.
Fields§
§sequence_number: u64The sequence number of the event that was emitted.
output_index: u32The index of the output item that was updated.
command_index: u32The index of the shell command that was added.
command: StringThe shell command that was added.
Trait Implementations§
Source§impl Clone for ResponseShellCallCommandAddedStreamingEvent
impl Clone for ResponseShellCallCommandAddedStreamingEvent
Source§fn clone(&self) -> ResponseShellCallCommandAddedStreamingEvent
fn clone(&self) -> ResponseShellCallCommandAddedStreamingEvent
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 ResponseShellCallCommandAddedStreamingEvent
impl<'de> Deserialize<'de> for ResponseShellCallCommandAddedStreamingEvent
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 EventType for ResponseShellCallCommandAddedStreamingEvent
impl EventType for ResponseShellCallCommandAddedStreamingEvent
Source§fn event_type(&self) -> &'static str
fn event_type(&self) -> &'static str
Available on crate feature
_api only.Returns the event type string (e.g., “batch.cancelled”)
impl StructuralPartialEq for ResponseShellCallCommandAddedStreamingEvent
Auto Trait Implementations§
impl Freeze for ResponseShellCallCommandAddedStreamingEvent
impl RefUnwindSafe for ResponseShellCallCommandAddedStreamingEvent
impl Send for ResponseShellCallCommandAddedStreamingEvent
impl Sync for ResponseShellCallCommandAddedStreamingEvent
impl Unpin for ResponseShellCallCommandAddedStreamingEvent
impl UnsafeUnpin for ResponseShellCallCommandAddedStreamingEvent
impl UnwindSafe for ResponseShellCallCommandAddedStreamingEvent
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