pub struct AppliedIndex {
pub offset: Offset,
pub hash: Hash,
}Expand description
Tracks which log entry a projection row was derived from.
Projections embed this in each row to enable:
- Point-in-time queries (find rows at a specific offset)
- Verification without walking the hash chain (hash provides direct check)
- Audit trails (know exactly which event created/updated a row)
Fields§
§offset: OffsetThe log offset this row was derived from.
hash: HashThe hash at this offset for direct verification.
Implementations§
Trait Implementations§
Source§impl Clone for AppliedIndex
impl Clone for AppliedIndex
Source§fn clone(&self) -> AppliedIndex
fn clone(&self) -> AppliedIndex
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 AppliedIndex
impl Debug for AppliedIndex
Source§impl Default for AppliedIndex
impl Default for AppliedIndex
Source§impl<'de> Deserialize<'de> for AppliedIndex
impl<'de> Deserialize<'de> for AppliedIndex
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
Source§impl Hash for AppliedIndex
impl Hash for AppliedIndex
Source§impl PartialEq for AppliedIndex
impl PartialEq for AppliedIndex
Source§impl Serialize for AppliedIndex
impl Serialize for AppliedIndex
impl Copy for AppliedIndex
impl Eq for AppliedIndex
impl StructuralPartialEq for AppliedIndex
Auto Trait Implementations§
impl Freeze for AppliedIndex
impl RefUnwindSafe for AppliedIndex
impl Send for AppliedIndex
impl Sync for AppliedIndex
impl Unpin for AppliedIndex
impl UnwindSafe for AppliedIndex
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