pub struct C2NodeSnapshot {
pub node_id: NodeId,
pub enabled_providers: Vec<AgentId>,
pub provider_runtime_statuses: ProviderRuntimeStatuses,
pub workspaces: Vec<C2WorkspaceSnapshot>,
pub session_records: Vec<C2ManagedSessionRecord>,
pub agent_progress: Vec<SessionAgentProgress>,
pub managed_worktrees: Vec<ManagedWorktreeLeaseSnapshot>,
pub launch_inventory: Option<LaunchInventory>,
}Fields§
§node_id: NodeId§enabled_providers: Vec<AgentId>§provider_runtime_statuses: ProviderRuntimeStatuses§workspaces: Vec<C2WorkspaceSnapshot>§session_records: Vec<C2ManagedSessionRecord>§agent_progress: Vec<SessionAgentProgress>§managed_worktrees: Vec<ManagedWorktreeLeaseSnapshot>§launch_inventory: Option<LaunchInventory>Implementations§
Source§impl C2NodeSnapshot
impl C2NodeSnapshot
pub fn requires_child_environment_profile_capability(&self) -> bool
pub fn requires_session_bundle_materialization_capability(&self) -> bool
pub fn requires_history_context_pack_capability(&self) -> bool
pub fn requires_session_task_correlation_capability(&self) -> bool
Trait Implementations§
Source§impl Clone for C2NodeSnapshot
impl Clone for C2NodeSnapshot
Source§impl Debug for C2NodeSnapshot
impl Debug for C2NodeSnapshot
Source§impl<'de> Deserialize<'de> for C2NodeSnapshot
impl<'de> Deserialize<'de> for C2NodeSnapshot
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 C2NodeSnapshot
Source§impl From<&NodeSnapshot> for C2NodeSnapshot
impl From<&NodeSnapshot> for C2NodeSnapshot
Source§fn from(snapshot: &NodeSnapshot) -> Self
fn from(snapshot: &NodeSnapshot) -> Self
Converts to this type from the input type.
Source§impl PartialEq for C2NodeSnapshot
impl PartialEq for C2NodeSnapshot
Source§impl Serialize for C2NodeSnapshot
impl Serialize for C2NodeSnapshot
impl StructuralPartialEq for C2NodeSnapshot
Auto Trait Implementations§
impl Freeze for C2NodeSnapshot
impl RefUnwindSafe for C2NodeSnapshot
impl Send for C2NodeSnapshot
impl Sync for C2NodeSnapshot
impl Unpin for C2NodeSnapshot
impl UnsafeUnpin for C2NodeSnapshot
impl UnwindSafe for C2NodeSnapshot
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