kmp-domain 0.18.7

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

#[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Serialize, Deserialize)]
#[serde(deny_unknown_fields)]
pub struct ConsolidationAssertion {
    pub source_ref: String,
    /// Literal, nonempty substring of the stored source body.
    pub quote: String,
    pub claim: ClaimIdentity,
    /// Writer's rationale connecting this interpretation to the quote.
    pub why: String,
}