Skip to main content

kmp_application/memory/
neighborhood_item.rs

1use std::collections::BTreeMap;
2
3/// Literal material for a writer to review, never a generated conclusion.
4#[derive(Debug, Clone, PartialEq, Eq, serde::Serialize)]
5pub struct NeighborhoodItem {
6    pub about: String,
7    #[serde(rename = "ref")]
8    pub reference: String,
9    pub state: String,
10    pub kind: String,
11    pub reason: String,
12    #[serde(skip_serializing_if = "Option::is_none")]
13    pub text: Option<String>,
14    pub text_omitted: bool,
15    #[serde(skip_serializing_if = "BTreeMap::is_empty")]
16    pub clocks: BTreeMap<String, Vec<String>>,
17}