pub struct TraceRuntimeStreamEvent {
pub sequence: u64,
pub elapsed_ms: u64,
pub event_name: String,
pub raw_text: Option<String>,
pub visible_text: Option<String>,
pub item_id: Option<String>,
pub output_index: Option<i64>,
pub call_id: Option<String>,
pub tool_name: Option<String>,
pub input_json: Option<Value>,
pub usage: Option<TraceTokenUsage>,
}Fields§
§sequence: u64§elapsed_ms: u64§event_name: String§raw_text: Option<String>§visible_text: Option<String>§item_id: Option<String>§output_index: Option<i64>§call_id: Option<String>§tool_name: Option<String>§input_json: Option<Value>§usage: Option<TraceTokenUsage>Trait Implementations§
Source§impl Clone for TraceRuntimeStreamEvent
impl Clone for TraceRuntimeStreamEvent
Source§fn clone(&self) -> TraceRuntimeStreamEvent
fn clone(&self) -> TraceRuntimeStreamEvent
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 Debug for TraceRuntimeStreamEvent
impl Debug for TraceRuntimeStreamEvent
Source§impl<'de> Deserialize<'de> for TraceRuntimeStreamEvent
impl<'de> Deserialize<'de> for TraceRuntimeStreamEvent
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<TraceRuntimeStreamEvent, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<TraceRuntimeStreamEvent, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TraceRuntimeStreamEvent
impl PartialEq for TraceRuntimeStreamEvent
Source§fn eq(&self, other: &TraceRuntimeStreamEvent) -> bool
fn eq(&self, other: &TraceRuntimeStreamEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TraceRuntimeStreamEvent
impl Serialize for TraceRuntimeStreamEvent
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 TraceRuntimeStreamEvent
Auto Trait Implementations§
impl Freeze for TraceRuntimeStreamEvent
impl RefUnwindSafe for TraceRuntimeStreamEvent
impl Send for TraceRuntimeStreamEvent
impl Sync for TraceRuntimeStreamEvent
impl Unpin for TraceRuntimeStreamEvent
impl UnsafeUnpin for TraceRuntimeStreamEvent
impl UnwindSafe for TraceRuntimeStreamEvent
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