Skip to main content

made_api/
recalled_entry_view.rs

1use serde::{Deserialize, Serialize};
2
3/// One thing an earlier session left behind, as a consumer sees it.
4///
5/// Plain data, like everything else here: the summary is what was
6/// decided or seen, and the session and the moment are what let a
7/// consumer attribute it rather than take it on trust.
8#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
9pub struct RecalledEntryView {
10    pub entry_id: String,
11    /// `decision`, `observation`, `constraint` or `outcome`.
12    pub kind: String,
13    pub summary: String,
14    /// The session that said it.
15    pub from_ceremony_id: String,
16    pub observed_at_millis: i64,
17}