pub struct C2ManagedSessionRecord {Show 16 fields
pub record_id: SessionRecordId,
pub display_name: String,
pub provider: AgentId,
pub mode: SessionMode,
pub state: ManagedSessionState,
pub workspace_id: WorkspaceId,
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 provider_identity_present: bool,
pub created_at_unix_ms: u64,
pub updated_at_unix_ms: u64,
}Fields§
§record_id: SessionRecordId§display_name: String§provider: AgentId§mode: SessionMode§state: ManagedSessionState§workspace_id: WorkspaceId§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>§provider_identity_present: bool§created_at_unix_ms: u64§updated_at_unix_ms: u64Implementations§
Source§impl C2ManagedSessionRecord
impl C2ManagedSessionRecord
pub fn context_binding_is_valid(&self) -> bool
pub fn requires_history_context_pack_capability(&self) -> bool
pub fn exported_context_is_valid(&self) -> bool
pub fn requires_session_task_correlation_capability(&self) -> bool
pub fn task_binding_is_valid(&self) -> bool
Trait Implementations§
Source§impl Clone for C2ManagedSessionRecord
impl Clone for C2ManagedSessionRecord
Source§impl Debug for C2ManagedSessionRecord
impl Debug for C2ManagedSessionRecord
Source§impl<'de> Deserialize<'de> for C2ManagedSessionRecord
impl<'de> Deserialize<'de> for C2ManagedSessionRecord
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 C2ManagedSessionRecord
Source§impl From<&C2ManagedSessionRecord> for SlimManagedSessionRecord
impl From<&C2ManagedSessionRecord> for SlimManagedSessionRecord
Source§fn from(record: &C2ManagedSessionRecord) -> Self
fn from(record: &C2ManagedSessionRecord) -> Self
Converts to this type from the input type.
Source§impl From<&ManagedSessionRecord> for C2ManagedSessionRecord
impl From<&ManagedSessionRecord> for C2ManagedSessionRecord
Source§fn from(record: &ManagedSessionRecord) -> Self
fn from(record: &ManagedSessionRecord) -> Self
Converts to this type from the input type.
Source§impl PartialEq for C2ManagedSessionRecord
impl PartialEq for C2ManagedSessionRecord
Source§impl Serialize for C2ManagedSessionRecord
impl Serialize for C2ManagedSessionRecord
impl StructuralPartialEq for C2ManagedSessionRecord
Auto Trait Implementations§
impl Freeze for C2ManagedSessionRecord
impl RefUnwindSafe for C2ManagedSessionRecord
impl Send for C2ManagedSessionRecord
impl Sync for C2ManagedSessionRecord
impl Unpin for C2ManagedSessionRecord
impl UnsafeUnpin for C2ManagedSessionRecord
impl UnwindSafe for C2ManagedSessionRecord
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