pub struct TableSnapshot {
pub table_name: String,
pub rows: Vec<(EntityId, Vec<u8>)>,
}Expand description
Snapshot of rows from a single entity table, stored as postcard-serialized bytes.
Fields§
§table_name: String§rows: Vec<(EntityId, Vec<u8>)>Trait Implementations§
Source§impl Clone for TableSnapshot
impl Clone for TableSnapshot
Source§fn clone(&self) -> TableSnapshot
fn clone(&self) -> TableSnapshot
Returns a duplicate of the value. Read more
1.0.0 · 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 TableSnapshot
impl Debug for TableSnapshot
Source§impl Default for TableSnapshot
impl Default for TableSnapshot
Source§fn default() -> TableSnapshot
fn default() -> TableSnapshot
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TableSnapshot
impl<'de> Deserialize<'de> for TableSnapshot
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 TableSnapshot
impl RefUnwindSafe for TableSnapshot
impl Send for TableSnapshot
impl Sync for TableSnapshot
impl Unpin for TableSnapshot
impl UnsafeUnpin for TableSnapshot
impl UnwindSafe for TableSnapshot
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