pub struct EntityRow {
pub id: String,
pub entity_type: String,
pub block_number: u64,
pub tx_hash: String,
pub log_index: u32,
pub data: HashMap<String, Value>,
}Expand description
A single row in the entity store (dynamic key-value).
The data map holds all non-system fields as JSON values.
System fields (id, entity_type, block_number, tx_hash, log_index)
are stored as top-level fields for efficient filtering.
Fields§
§id: StringPrimary key value.
entity_type: StringThe entity schema name (table name).
block_number: u64Block number where this entity was created/updated.
tx_hash: StringTransaction hash that produced this entity.
log_index: u32Log index within the block.
data: HashMap<String, Value>User-defined field data.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for EntityRow
impl<'de> Deserialize<'de> for EntityRow
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 EntityRow
impl RefUnwindSafe for EntityRow
impl Send for EntityRow
impl Sync for EntityRow
impl Unpin for EntityRow
impl UnsafeUnpin for EntityRow
impl UnwindSafe for EntityRow
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