pub struct RuntimeSession {
pub session_id: String,
pub principal_id: String,
pub execution_group_id: Option<String>,
pub objective: Option<String>,
pub state: String,
pub revision: u64,
pub created_at: String,
pub updated_at: String,
pub waiting_reason: Option<String>,
pub recovered: Option<bool>,
pub completion: Option<SessionCompletionEvidence>,
}Expand description
A runtime session and its current lifecycle state.
Fields§
§session_id: StringUnique session identifier.
principal_id: StringThe principal that owns the session.
execution_group_id: Option<String>Optional execution group for multi-agent coordination.
objective: Option<String>The session objective, when set.
state: StringSession state (e.g. active, completed).
revision: u64Monotonic session revision.
created_at: StringRFC 3339 creation timestamp.
updated_at: StringRFC 3339 update timestamp.
waiting_reason: Option<String>Reason the session is waiting, when applicable.
recovered: Option<bool>Whether the session was recovered after a crash.
completion: Option<SessionCompletionEvidence>Completion evidence, when the session is complete.
Trait Implementations§
Source§impl Clone for RuntimeSession
impl Clone for RuntimeSession
Source§fn clone(&self) -> RuntimeSession
fn clone(&self) -> RuntimeSession
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 RuntimeSession
impl Debug for RuntimeSession
Source§impl<'de> Deserialize<'de> for RuntimeSession
impl<'de> Deserialize<'de> for RuntimeSession
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
Source§impl PartialEq for RuntimeSession
impl PartialEq for RuntimeSession
Source§impl Serialize for RuntimeSession
impl Serialize for RuntimeSession
impl StructuralPartialEq for RuntimeSession
Auto Trait Implementations§
impl Freeze for RuntimeSession
impl RefUnwindSafe for RuntimeSession
impl Send for RuntimeSession
impl Sync for RuntimeSession
impl Unpin for RuntimeSession
impl UnsafeUnpin for RuntimeSession
impl UnwindSafe for RuntimeSession
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