pub struct SessionTurn {
pub session_id: SessionId,
pub turn_index: u64,
pub role: TurnRole,
pub content: String,
pub timestamp: String,
}Expand description
A single raw turn in a session transcript.
Provenance — which harness produced this turn — is carried by the enclosing session, not duplicated per turn.
Fields§
§session_id: SessionIdThe session this turn belongs to.
turn_index: u640-based index of this turn within the session.
role: TurnRoleAuthor role.
content: StringRaw turn content.
timestamp: StringISO-8601 timestamp (matches pi-mempalace’s TEXT timestamps).
Trait Implementations§
Source§impl Clone for SessionTurn
impl Clone for SessionTurn
Source§fn clone(&self) -> SessionTurn
fn clone(&self) -> SessionTurn
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 SessionTurn
impl Debug for SessionTurn
impl Eq for SessionTurn
Source§impl PartialEq for SessionTurn
impl PartialEq for SessionTurn
impl StructuralPartialEq for SessionTurn
Auto Trait Implementations§
impl Freeze for SessionTurn
impl RefUnwindSafe for SessionTurn
impl Send for SessionTurn
impl Sync for SessionTurn
impl Unpin for SessionTurn
impl UnsafeUnpin for SessionTurn
impl UnwindSafe for SessionTurn
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