pub struct SessionView {Show 24 fields
pub session_id: String,
pub status: SessionStatus,
pub activity_state: SessionActivityState,
pub current_focus: Option<String>,
pub current_task_id: Option<String>,
pub current_task_title: Option<String>,
pub next_wake_at_ms: Option<i64>,
pub blocked_reason: Option<String>,
pub last_human_input_at_ms: Option<i64>,
pub last_assistant_activity_at_ms: Option<i64>,
pub active_channel_ids: Vec<String>,
pub pending_wake: Option<WakeView>,
pub wake_history: Vec<WakeView>,
pub last_heartbeat: Option<HeartbeatStatusView>,
pub last_sequence_no: Option<i64>,
pub latest_outcome: Option<OutcomeRecord>,
pub pending_approval: Option<ApprovalView>,
pub state: AgentStateSnapshot,
pub timeline: Vec<TimelineItem>,
pub tool_timeline: Vec<ToolTimelineItem>,
pub self_improvement: SelfImprovementView,
pub execution_graph: ExecutionGraphView,
pub record_count: usize,
pub total_estimated_cost_usd: f64,
}Fields§
§session_id: String§status: SessionStatus§activity_state: SessionActivityState§current_focus: Option<String>§current_task_id: Option<String>§current_task_title: Option<String>§next_wake_at_ms: Option<i64>§blocked_reason: Option<String>§last_human_input_at_ms: Option<i64>§last_assistant_activity_at_ms: Option<i64>§active_channel_ids: Vec<String>§pending_wake: Option<WakeView>§wake_history: Vec<WakeView>§last_heartbeat: Option<HeartbeatStatusView>§last_sequence_no: Option<i64>§latest_outcome: Option<OutcomeRecord>§pending_approval: Option<ApprovalView>§state: AgentStateSnapshot§timeline: Vec<TimelineItem>§tool_timeline: Vec<ToolTimelineItem>§self_improvement: SelfImprovementView§execution_graph: ExecutionGraphView§record_count: usize§total_estimated_cost_usd: f64Trait Implementations§
Source§impl Clone for SessionView
impl Clone for SessionView
Source§fn clone(&self) -> SessionView
fn clone(&self) -> SessionView
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 SessionView
impl Debug for SessionView
Source§impl<'de> Deserialize<'de> for SessionView
impl<'de> Deserialize<'de> for SessionView
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 SessionView
impl PartialEq for SessionView
Source§fn eq(&self, other: &SessionView) -> bool
fn eq(&self, other: &SessionView) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SessionView
impl Serialize for SessionView
impl StructuralPartialEq for SessionView
Auto Trait Implementations§
impl Freeze for SessionView
impl RefUnwindSafe for SessionView
impl Send for SessionView
impl Sync for SessionView
impl Unpin for SessionView
impl UnsafeUnpin for SessionView
impl UnwindSafe for SessionView
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,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more