pub struct StreamEventRequest {Show 15 fields
pub protocol_version: u32,
pub tool: Option<String>,
pub event_type: StreamEventType,
pub session_id: String,
pub timestamp: DateTime<Utc>,
pub hook_event_name: Option<String>,
pub tool_name: Option<String>,
pub tool_input: Option<Value>,
pub tool_response: Option<Value>,
pub event_index: Option<i32>,
pub transcript_lines: Option<Vec<Value>>,
pub transcript_offset: Option<i64>,
pub model: Option<String>,
pub cwd: Option<String>,
pub final_stats: Option<SessionFinalStats>,
}Fields§
§protocol_version: u32§tool: Option<String>§event_type: StreamEventType§session_id: String§timestamp: DateTime<Utc>§hook_event_name: Option<String>§tool_name: Option<String>§tool_input: Option<Value>§tool_response: Option<Value>§event_index: Option<i32>§transcript_lines: Option<Vec<Value>>§transcript_offset: Option<i64>§model: Option<String>§cwd: Option<String>§final_stats: Option<SessionFinalStats>Trait Implementations§
Source§impl Clone for StreamEventRequest
impl Clone for StreamEventRequest
Source§fn clone(&self) -> StreamEventRequest
fn clone(&self) -> StreamEventRequest
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 Debug for StreamEventRequest
impl Debug for StreamEventRequest
Source§impl<'de> Deserialize<'de> for StreamEventRequest
impl<'de> Deserialize<'de> for StreamEventRequest
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
Auto Trait Implementations§
impl Freeze for StreamEventRequest
impl RefUnwindSafe for StreamEventRequest
impl Send for StreamEventRequest
impl Sync for StreamEventRequest
impl Unpin for StreamEventRequest
impl UnsafeUnpin for StreamEventRequest
impl UnwindSafe for StreamEventRequest
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