pub struct SnapshotMeta {
pub instance_id: InstanceId,
pub station_id: StationId,
pub tick: Tick,
pub entity_count: usize,
pub owner_epoch: OwnerEpoch,
pub version: SnapshotVersion,
}Expand description
Snapshot metadata for a single station.
Fields§
§instance_id: InstanceIdWorld instance id.
station_id: StationIdStation id.
tick: TickTick captured by the snapshot.
entity_count: usizeEntity count captured by the snapshot.
owner_epoch: OwnerEpochCurrent station owner epoch.
version: SnapshotVersionVersion metadata.
Trait Implementations§
Source§impl Clone for SnapshotMeta
impl Clone for SnapshotMeta
Source§fn clone(&self) -> SnapshotMeta
fn clone(&self) -> SnapshotMeta
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SnapshotMeta
impl Debug for SnapshotMeta
impl Eq for SnapshotMeta
Source§impl PartialEq for SnapshotMeta
impl PartialEq for SnapshotMeta
impl StructuralPartialEq for SnapshotMeta
Auto Trait Implementations§
impl Freeze for SnapshotMeta
impl RefUnwindSafe for SnapshotMeta
impl Send for SnapshotMeta
impl Sync for SnapshotMeta
impl Unpin for SnapshotMeta
impl UnsafeUnpin for SnapshotMeta
impl UnwindSafe for SnapshotMeta
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