pub struct BaseItemRow {
pub pk: String,
pub sk: String,
pub item_json: String,
pub item_size: usize,
pub cached_at: Option<f64>,
pub hash_prefix: String,
}Expand description
One base-table row for a bulk insert via StorageBackend::put_base_items.
Unlike StorageBackend::put_item_with_hash, which preserves any existing
cached_at value, the bulk path writes cached_at verbatim: this mirrors
the import flow, which sets the timestamp explicitly (or clears it) for
every row it loads.
Fields§
§pk: StringPartition key string.
sk: StringSort key string (empty for tables without a sort key).
item_json: StringSerialised item JSON.
item_size: usizeItem size in bytes.
cached_at: Option<f64>Cache timestamp written verbatim; None clears the column.
hash_prefix: StringHash prefix used for parallel-scan ordering.
Trait Implementations§
Source§impl Clone for BaseItemRow
impl Clone for BaseItemRow
Source§fn clone(&self) -> BaseItemRow
fn clone(&self) -> BaseItemRow
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 moreAuto Trait Implementations§
impl Freeze for BaseItemRow
impl RefUnwindSafe for BaseItemRow
impl Send for BaseItemRow
impl Sync for BaseItemRow
impl Unpin for BaseItemRow
impl UnsafeUnpin for BaseItemRow
impl UnwindSafe for BaseItemRow
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