pub struct CloudSessionDeltaMessage {
pub seq: u64,
pub changed: Vec<String>,
pub cloud_session: Value,
pub uuid: String,
pub session_id: String,
pub extra: Map<String, Value>,
}Expand description
system/cloud_session_delta — written only by the headless stream-json
client of a cloud-hosted session (the same client that puts
cloud_session on its init frames): the session’s status changed between
two inits. Only after the first init; at most a few per second; none when
nothing differs. An init is always a complete snapshot, so a host that
(re)attaches resynchronises from the first init it reads and applies
these on top. Display-only (CLI 2.1.260+).
Fields§
§seq: u64Rises by one with each of these frames this client writes (1 for the first); never reset by an init. A reader keeps the highest it has applied and drops a lower one.
changed: Vec<String>The top-level keys of cloud_session whose value differs from the
last block this client wrote, e.g. ["serving"]; never empty. A hint
for what to redraw — the block is complete either way.
cloud_session: ValueThe whole block exactly as the next init would carry it (see
InitMessage::cloud_session): replace the held copy, do not merge.
Stored as raw JSON (the shape is internal and evolving).
uuid: String§session_id: String§extra: Map<String, Value>Trait Implementations§
Source§impl Clone for CloudSessionDeltaMessage
impl Clone for CloudSessionDeltaMessage
Source§fn clone(&self) -> CloudSessionDeltaMessage
fn clone(&self) -> CloudSessionDeltaMessage
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more