this_me/core/model.rs
1//this.me/crate/src/core/model.rs
2use serde::{Serialize, Deserialize};
3
4#[derive(Debug, Clone, Serialize, Deserialize)]
5pub struct Entry { pub verb: String, pub key: String, pub value: String, pub timestamp: String }
6
7#[derive(Debug, Clone)]
8pub struct GetFilter {
9 pub verb: String,
10 pub key: Option<String>,
11 pub value: Option<String>,
12 pub context_id: Option<String>,
13 pub limit: Option<usize>,
14 pub offset: Option<usize>,
15 pub since: Option<String>,
16 pub until: Option<String>,
17}