pub struct LoopEvent {
pub sequence: u64,
pub event: AgentEvent,
}Expand description
One event in a LoopRecord’s ordered event stream.
Fields§
§sequence: u64Monotonic counter within this loop (0-based). Gaps indicate filtered events
(e.g. MessageUpdate streaming deltas when
SessionRecorderConfig::include_streaming_events is false).
event: AgentEventThe original event. event.loop_id() matches the LoopRecord::loop_id.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LoopEvent
impl<'de> Deserialize<'de> for LoopEvent
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 LoopEvent
impl RefUnwindSafe for LoopEvent
impl Send for LoopEvent
impl Sync for LoopEvent
impl Unpin for LoopEvent
impl UnsafeUnpin for LoopEvent
impl UnwindSafe for LoopEvent
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