pub struct TurnIndexEntry {
pub turn_number: u64,
pub start_offset: u64,
pub end_offset: u64,
pub event_count: u64,
pub ts: String,
}Expand description
Byte-offset index of a single turn within events.jsonl.
Fields§
§turn_number: u64Turn ordinal (1-based).
start_offset: u64Byte offset of the turn’s first event.
end_offset: u64Byte offset just past the turn’s last event.
event_count: u64Number of events in the turn.
ts: StringRFC3339 timestamp of turn start.
Trait Implementations§
Source§impl Clone for TurnIndexEntry
impl Clone for TurnIndexEntry
Source§fn clone(&self) -> TurnIndexEntry
fn clone(&self) -> TurnIndexEntry
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 TurnIndexEntry
impl Debug for TurnIndexEntry
Source§impl<'de> Deserialize<'de> for TurnIndexEntry
impl<'de> Deserialize<'de> for TurnIndexEntry
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
impl Eq for TurnIndexEntry
Source§impl PartialEq for TurnIndexEntry
impl PartialEq for TurnIndexEntry
Source§impl Serialize for TurnIndexEntry
impl Serialize for TurnIndexEntry
impl StructuralPartialEq for TurnIndexEntry
Auto Trait Implementations§
impl Freeze for TurnIndexEntry
impl RefUnwindSafe for TurnIndexEntry
impl Send for TurnIndexEntry
impl Sync for TurnIndexEntry
impl Unpin for TurnIndexEntry
impl UnsafeUnpin for TurnIndexEntry
impl UnwindSafe for TurnIndexEntry
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.