pub struct InstanceSnapshot {
pub instance_id: InstanceId,
pub graphic_id: String,
pub data: Option<Value>,
pub current_step: Option<f64>,
}Expand description
Instance state snapshot sent by a renderer during reconnect (Hello message). Contains the minimal information needed to resync Core’s view of what instances are loaded on the renderer.
Fields§
§instance_id: InstanceId§graphic_id: String§data: Option<Value>§current_step: Option<f64>Trait Implementations§
Source§impl Clone for InstanceSnapshot
impl Clone for InstanceSnapshot
Source§impl Debug for InstanceSnapshot
impl Debug for InstanceSnapshot
Source§impl<'de> Deserialize<'de> for InstanceSnapshot
impl<'de> Deserialize<'de> for InstanceSnapshot
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
Auto Trait Implementations§
impl Freeze for InstanceSnapshot
impl RefUnwindSafe for InstanceSnapshot
impl Send for InstanceSnapshot
impl Sync for InstanceSnapshot
impl Unpin for InstanceSnapshot
impl UnsafeUnpin for InstanceSnapshot
impl UnwindSafe for InstanceSnapshot
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