pub struct ResponseShellCallCommandAddedStreamingEvent {
pub sequence_number: u64,
pub output_index: u32,
pub command_index: u32,
pub command: String,
}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<ResponseShellCallCommandAddedStreamingEvent, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ResponseShellCallCommandAddedStreamingEvent, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for ResponseShellCallCommandAddedStreamingEvent
impl Serialize for ResponseShellCallCommandAddedStreamingEvent
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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