pub struct AgentSessionView {Show 13 fields
pub target: ManagedSessionTarget,
pub title: Option<String>,
pub status: SessionStatus,
pub profile: Option<String>,
pub workspace: Option<String>,
pub revision: u64,
pub head_run_id: Option<RunId>,
pub active_run_id: Option<RunId>,
pub resumable: bool,
pub controllable: bool,
pub recent_runs: Vec<AgentRunView>,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
}Expand description
Prompt-safe compact session projection.
Fields§
§target: ManagedSessionTargetComposite target.
title: Option<String>Optional bounded title.
status: SessionStatusCanonical status.
profile: Option<String>Optional profile.
workspace: Option<String>Safe workspace display value, never a backend locator.
revision: u64Optimistic concurrency token.
head_run_id: Option<RunId>Head run id.
active_run_id: Option<RunId>Current active run id when canonical storage has one.
resumable: boolWhether the current host can resume this session.
controllable: boolWhether the current host has a fenced local control handle.
recent_runs: Vec<AgentRunView>Bounded recent run summaries.
created_at: DateTime<Utc>Creation time.
updated_at: DateTime<Utc>Last update time.
Trait Implementations§
Source§impl Clone for AgentSessionView
impl Clone for AgentSessionView
Source§fn clone(&self) -> AgentSessionView
fn clone(&self) -> AgentSessionView
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 AgentSessionView
impl Debug for AgentSessionView
Source§impl<'de> Deserialize<'de> for AgentSessionView
impl<'de> Deserialize<'de> for AgentSessionView
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
impl Eq for AgentSessionView
Source§impl PartialEq for AgentSessionView
impl PartialEq for AgentSessionView
Source§impl Serialize for AgentSessionView
impl Serialize for AgentSessionView
impl StructuralPartialEq for AgentSessionView
Auto Trait Implementations§
impl Freeze for AgentSessionView
impl RefUnwindSafe for AgentSessionView
impl Send for AgentSessionView
impl Sync for AgentSessionView
impl Unpin for AgentSessionView
impl UnsafeUnpin for AgentSessionView
impl UnwindSafe for AgentSessionView
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