Skip to main content

ReactiveIndexRestoreState

Type Alias ReactiveIndexRestoreState 

Source
pub type ReactiveIndexRestoreState<K, S, V> = ReactiveCollectionRestoreState<Vec<IndexRow<K, S, V>>>;
Expand description

ReactiveIndexRestoreState type alias.

Aliased Type§

pub struct ReactiveIndexRestoreState<K, S, V> {
    pub kind: ReactiveCollectionKind,
    pub state: Vec<IndexRow<K, S, V>>,
    pub source: ReactiveCollectionRestoreSource,
    pub snapshot: ReactiveCollectionSnapshotRestoreMeta,
    pub changes: ReactiveCollectionChangesRestoreMeta,
    pub cursor: Option<u64>,
    pub snapshot_found: bool,
    pub changes_applied: usize,
}

Fields§

§kind: ReactiveCollectionKind

kind field for kind.

§state: Vec<IndexRow<K, S, V>>

state field for state.

§source: ReactiveCollectionRestoreSource

source field for source.

§snapshot: ReactiveCollectionSnapshotRestoreMeta

snapshot field for snapshot.

§changes: ReactiveCollectionChangesRestoreMeta

changes field for changes.

§cursor: Option<u64>

cursor field for cursor.

§snapshot_found: bool

snapshot_found field for snapshot found.

§changes_applied: usize

changes_applied field for changes applied.