pub struct EntityFrame {
pub seq_no: u64,
pub elapsed_ms: u32,
pub shard: String,
pub entity_id: String,
}Expand description
Represents a single frame of work dispatched to a system by a system manager when the target system is ready to receive
Fields§
§seq_no: u64Monotonically increasing sequence number
elapsed_ms: u32Elapsed time (ms, approx) since the last frame
shard: StringID of the shard in which this frame takes place
entity_id: StringEntity ID to which this frame applies
Trait Implementations§
Source§impl Debug for EntityFrame
impl Debug for EntityFrame
Source§impl Default for EntityFrame
impl Default for EntityFrame
Source§fn default() -> EntityFrame
fn default() -> EntityFrame
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EntityFrame
impl<'de> Deserialize<'de> for EntityFrame
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 EntityFrame
impl RefUnwindSafe for EntityFrame
impl Send for EntityFrame
impl Sync for EntityFrame
impl Unpin for EntityFrame
impl UnwindSafe for EntityFrame
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