pub struct Session {
pub id: SessionId,
pub harness: Harness,
pub channel: Option<String>,
pub started_at: String,
pub ended_at: Option<String>,
}Expand description
A session descriptor — the metadata for a raw transcript.
Fields§
§id: SessionIdStable opaque identifier.
harness: HarnessWhich harness produced this session.
channel: Option<String>Gateway/channel/thread identifier (e.g. a Discord thread id).
started_at: StringISO-8601 start timestamp.
ended_at: Option<String>ISO-8601 end timestamp, if the session has ended.
Trait Implementations§
impl Eq for Session
impl StructuralPartialEq for Session
Auto Trait Implementations§
impl Freeze for Session
impl RefUnwindSafe for Session
impl Send for Session
impl Sync for Session
impl Unpin for Session
impl UnsafeUnpin for Session
impl UnwindSafe for Session
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