1use crate::event::{Anchor, Scope};
2
3#[derive(Clone, Copy, Debug, PartialEq, Eq)]
4pub enum Status {
5 Stable,
6 Stale,
7 Deleted,
8}
9
10#[derive(Clone, Debug, PartialEq)]
11pub struct Memory {
12 pub memory_id: String,
13 pub title: String,
14 pub body: String,
15 pub mem_type: String,
16 pub scope: Scope,
17 pub project: String,
18 pub topic_key: Option<String>,
19 pub anchors: Vec<Anchor>,
20 pub tags: Vec<String>,
21 pub status: Status,
22 pub created_ts: String,
23 pub updated_ts: String,
24 pub last_event_id: String,
25}