Skip to main content

TableRowVersionStore

Trait TableRowVersionStore 

Source
pub trait TableRowVersionStore {
    // Required methods
    fn table_row_versions_by_logical_id(
        &self,
        collection: &str,
        logical_id: EntityId,
    ) -> Vec<UnifiedEntity>;
    fn get_table_row_by_logical_id(
        &self,
        collection: &str,
        logical_id: EntityId,
    ) -> Option<UnifiedEntity>;
}
Expand description

Candidate access for the canonical table-row version selector. The store supplies only physical versions of the requested collection/logical identity.

Required Methods§

Source

fn table_row_versions_by_logical_id( &self, collection: &str, logical_id: EntityId, ) -> Vec<UnifiedEntity>

Source

fn get_table_row_by_logical_id( &self, collection: &str, logical_id: EntityId, ) -> Option<UnifiedEntity>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§