pub struct HermesSessionRow {Show 15 fields
pub id: String,
pub source: Option<String>,
pub lineage_kind: Option<String>,
pub session_key: Option<String>,
pub chat_id: Option<String>,
pub chat_type: Option<String>,
pub thread_id: Option<String>,
pub user_id: Option<String>,
pub profile_name: Option<String>,
pub handoff_state: Option<String>,
pub handoff_platform: Option<String>,
pub handoff_error: Option<String>,
pub started_at: Option<f64>,
pub ended_at: Option<f64>,
pub end_reason: Option<String>,
}Expand description
One Hermes sessions row, the columns a binding is made of. Empty strings
are read as absent by the decoder.
Fields§
§id: Stringsessions.id.
source: Option<String>sessions.source: cli | tui | acp | api_server | cron | webhook | a platform.
lineage_kind: Option<String>delegate for a subagent child (Hermes lineage), else anything.
session_key: Option<String>sessions.session_key, the gateway conversation key.
chat_id: Option<String>sessions.chat_id.
chat_type: Option<String>sessions.chat_type.
thread_id: Option<String>sessions.thread_id.
user_id: Option<String>sessions.user_id (the participant).
profile_name: Option<String>sessions.profile_name, the routed profile.
handoff_state: Option<String>sessions.handoff_state.
handoff_platform: Option<String>sessions.handoff_platform.
handoff_error: Option<String>sessions.handoff_error.
started_at: Option<f64>Epoch seconds, as the store keeps them.
ended_at: Option<f64>Epoch seconds when the session ended, if it has.
end_reason: Option<String>sessions.end_reason, the store’s own word.
Trait Implementations§
Source§impl Clone for HermesSessionRow
impl Clone for HermesSessionRow
Source§fn clone(&self) -> HermesSessionRow
fn clone(&self) -> HermesSessionRow
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 HermesSessionRow
impl Debug for HermesSessionRow
Source§impl Default for HermesSessionRow
impl Default for HermesSessionRow
Source§fn default() -> HermesSessionRow
fn default() -> HermesSessionRow
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for HermesSessionRow
impl RefUnwindSafe for HermesSessionRow
impl Send for HermesSessionRow
impl Sync for HermesSessionRow
impl Unpin for HermesSessionRow
impl UnsafeUnpin for HermesSessionRow
impl UnwindSafe for HermesSessionRow
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