kmp-domain 0.1.8

Domain model of the Kernel Memory Protocol: aggregates, value objects, repositories and projections, with no IO
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use std::time::SystemTime;

#[derive(Debug, Clone, PartialEq, Eq)]
pub struct ProjectionCheckpoint {
    pub consumer_name: String,
    pub stream_name: String,
    pub last_subject: String,
    pub last_event_id: String,
    pub last_correlation_id: String,
    pub last_occurred_at: String,
    pub processed_events: u64,
    pub updated_at: SystemTime,
}