Skip to main content

hocuspocus_extension_database/
types.rs

1#[derive(Debug, Clone)]
2pub struct FetchContext {
3    pub document_name: String,
4}
5
6#[derive(Debug)]
7pub struct StoreContext<'a> {
8    pub document_name: String,
9    pub state: &'a [u8],
10    pub updated_at_millis: i64,
11}