aboutsummaryrefslogtreecommitdiffstats
path: root/crates/atuin-kv/src/store/entry.rs
diff options
context:
space:
mode:
authorMichelle Tilley <michelle@michelletilley.net>2025-05-06 08:36:32 -0700
committerGitHub <noreply@github.com>2025-05-06 08:36:32 -0700
commita1433e0cefe3ad001d5473faf4312c25bdeea968 (patch)
treeee8bc10e1438641338b8ef7f5de00a52e6c7f074 /crates/atuin-kv/src/store/entry.rs
parentchore(deps): update minspan to 0.1.5 (#2729) (diff)
downloadatuin-a1433e0cefe3ad001d5473faf4312c25bdeea968.zip
feat: Implement KV as a write-through cache (#2732)
Diffstat (limited to 'crates/atuin-kv/src/store/entry.rs')
-rw-r--r--crates/atuin-kv/src/store/entry.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/crates/atuin-kv/src/store/entry.rs b/crates/atuin-kv/src/store/entry.rs
new file mode 100644
index 00000000..1d6a1ef8
--- /dev/null
+++ b/crates/atuin-kv/src/store/entry.rs
@@ -0,0 +1,8 @@
+use typed_builder::TypedBuilder;
+
+#[derive(Debug, Clone, PartialEq, Eq, TypedBuilder)]
+pub struct KvEntry {
+ pub namespace: String,
+ pub key: String,
+ pub value: String,
+}