pub struct ManagedSessionRecord {Show 18 fields
pub record_id: SessionRecordId,
pub display_name: String,
pub provider: AgentId,
pub mode: SessionMode,
pub state: ManagedSessionState,
pub workspace_id: WorkspaceId,
pub canonical_root: OpaqueHostPath,
pub provider_session: Option<ProviderSessionIdentity>,
pub active_session: Option<SessionAddress>,
pub environment_profile: Option<ResolvedEnvironmentProfileReceipt>,
pub bundle: Option<ResolvedBundleReceipt>,
pub context_id: Option<SpawnContextId>,
pub context: Option<ResolvedContextPackReceipt>,
pub exported_context: Option<ResolvedContextPackReceipt>,
pub task_binding: Option<SessionTaskBindingV1>,
pub created_at_unix_ms: u64,
pub updated_at_unix_ms: u64,
pub last_error: Option<String>,
}Fields§
§record_id: SessionRecordId§display_name: String§provider: AgentId§mode: SessionMode§state: ManagedSessionState§workspace_id: WorkspaceId§canonical_root: OpaqueHostPath§provider_session: Option<ProviderSessionIdentity>§active_session: Option<SessionAddress>§environment_profile: Option<ResolvedEnvironmentProfileReceipt>§bundle: Option<ResolvedBundleReceipt>§context_id: Option<SpawnContextId>§context: Option<ResolvedContextPackReceipt>§exported_context: Option<ResolvedContextPackReceipt>§task_binding: Option<SessionTaskBindingV1>§created_at_unix_ms: u64§updated_at_unix_ms: u64§last_error: Option<String>Implementations§
Source§impl ManagedSessionRecord
impl ManagedSessionRecord
pub fn context_binding_is_valid(&self) -> bool
pub fn exported_context_is_valid(&self) -> bool
pub fn task_binding_is_valid(&self) -> bool
Trait Implementations§
Source§impl Clone for ManagedSessionRecord
impl Clone for ManagedSessionRecord
Source§impl Debug for ManagedSessionRecord
impl Debug for ManagedSessionRecord
Source§impl<'de> Deserialize<'de> for ManagedSessionRecord
impl<'de> Deserialize<'de> for ManagedSessionRecord
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 ManagedSessionRecord
Source§impl PartialEq for ManagedSessionRecord
impl PartialEq for ManagedSessionRecord
Source§impl Serialize for ManagedSessionRecord
impl Serialize for ManagedSessionRecord
impl StructuralPartialEq for ManagedSessionRecord
Auto Trait Implementations§
impl Freeze for ManagedSessionRecord
impl RefUnwindSafe for ManagedSessionRecord
impl Send for ManagedSessionRecord
impl Sync for ManagedSessionRecord
impl Unpin for ManagedSessionRecord
impl UnsafeUnpin for ManagedSessionRecord
impl UnwindSafe for ManagedSessionRecord
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