kmp-domain 0.18.9

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
15
16
use super::{ClaimPolarity, EpistemicStatus};
use serde::{Deserialize, Serialize};

/// Every coordinate is supplied by a source-reading writer. A name is not an
/// entity identifier; temporal_scope must distinguish separate events/ownership.
#[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Serialize, Deserialize)]
#[serde(deny_unknown_fields)]
pub struct ClaimIdentity {
    pub referent: String,
    pub predicate: String,
    pub value: String,
    pub temporal_scope: String,
    pub polarity: ClaimPolarity,
    pub epistemic_status: EpistemicStatus,
    pub qualifiers: Vec<String>,
}