factstr 0.3.2

Rust event store contract for append-only facts, streams, and command context consistency.
Documentation
1
2
3
4
5
6
7
8
use crate::EventRecord;

#[derive(Clone, Debug, Default, Eq, PartialEq)]
pub struct QueryResult {
    pub event_records: Vec<EventRecord>,
    pub last_returned_sequence_number: Option<u64>,
    pub current_context_version: Option<u64>,
}