distributed 4.4.0

CQRS/ES framework for Rust using Plain Old Rust Structs — append-only events, replay, snapshots, outbox, service bus, and pluggable infrastructure
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use distributed::ReadModel;
use serde::{Deserialize, Serialize};

#[derive(Clone, Debug, Default, PartialEq, Serialize, Deserialize, ReadModel)]
#[table("seats")]
pub struct SeatView {
    #[id("seat_id")]
    pub seat_id: String,
    pub category: String,
    pub status: String,
    pub checkout_id: String,
}