kmp-domain 0.18.6

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
14
use super::{ConsolidatedClaim, ConsolidationSource};
use serde::{Deserialize, Serialize};

#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
pub struct ConsolidatedView {
    pub about: String,
    pub view: String,
    pub revision: u64,
    pub authored_at: String,
    pub author: String,
    pub claims: Vec<ConsolidatedClaim>,
    /// Immutable source copies make prior versions auditable after replacement.
    pub sources: Vec<ConsolidationSource>,
}