pub struct RuntimeStateUpdate {
pub session_cpu: SnapshotMap<String, SessionCpuView>,
pub last_subagent_policy: SubagentPolicy,
pub native_agents: SnapshotMap<String, NativeAgentView>,
pub workspace_names: BTreeMap<String, String>,
pub revision: u64,
pub records: SnapshotMap<String, SessionRecord>,
pub lifecycles: Vec<RuntimeLifecycleView>,
pub moves: SnapshotMap<String, MoveOperation>,
pub subagents: SnapshotMap<String, SubagentRecord>,
pub launch_recency: Vec<LaunchRecency>,
}Expand description
Records and lifecycle ownership must reach the surface in the same frame.
Fields§
§session_cpu: SnapshotMap<String, SessionCpuView>§last_subagent_policy: SubagentPolicy§native_agents: SnapshotMap<String, NativeAgentView>§workspace_names: BTreeMap<String, String>§revision: u64§records: SnapshotMap<String, SessionRecord>§lifecycles: Vec<RuntimeLifecycleView>§moves: SnapshotMap<String, MoveOperation>§subagents: SnapshotMap<String, SubagentRecord>Parent/child relations for the sessions in records, so a surface can
keep a daemon-created child out of the real workspace without a full
state reload.
launch_recency: Vec<LaunchRecency>What new-session defaults are chosen from; see
mj_client::runtime_feed::LaunchRecency.
Trait Implementations§
Source§impl Clone for RuntimeStateUpdate
impl Clone for RuntimeStateUpdate
Source§impl Debug for RuntimeStateUpdate
impl Debug for RuntimeStateUpdate
Source§impl Default for RuntimeStateUpdate
impl Default for RuntimeStateUpdate
Source§impl PartialEq for RuntimeStateUpdate
impl PartialEq for RuntimeStateUpdate
impl StructuralPartialEq for RuntimeStateUpdate
Auto Trait Implementations§
impl Freeze for RuntimeStateUpdate
impl RefUnwindSafe for RuntimeStateUpdate
impl Send for RuntimeStateUpdate
impl Sync for RuntimeStateUpdate
impl Unpin for RuntimeStateUpdate
impl UnsafeUnpin for RuntimeStateUpdate
impl UnwindSafe for RuntimeStateUpdate
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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 moreSource§impl<T> IntoMaybeUndefined<T> for T
impl<T> IntoMaybeUndefined<T> for T
Source§fn into_maybe_undefined(self) -> MaybeUndefined<T>
fn into_maybe_undefined(self) -> MaybeUndefined<T>
Converts this value into a three-state builder argument.
Source§impl<T> IntoOption<T> for T
impl<T> IntoOption<T> for T
Source§fn into_option(self) -> Option<T>
fn into_option(self) -> Option<T>
Converts this value into an optional builder argument.