diff options
author | Heyang Zhou <zhy20000919@hotmail.com> | 2023-08-18 17:34:16 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-18 17:34:16 +0800 |
commit | c77c836a238ce683b21c12f88cd1101b930ce042 (patch) | |
tree | b69b2318f618d1b384dc168ab6652496d63e2f2c /ext/kv/interface.rs | |
parent | b5839eefcf02e62e9e77e8095f372ac06a523cba (diff) |
feat(ext/kv): key expiration (#20091)
Co-authored-by: Luca Casonato <hello@lcas.dev>
Diffstat (limited to 'ext/kv/interface.rs')
-rw-r--r-- | ext/kv/interface.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/kv/interface.rs b/ext/kv/interface.rs index b67ee1243..28b43f8d7 100644 --- a/ext/kv/interface.rs +++ b/ext/kv/interface.rs @@ -237,6 +237,7 @@ pub struct KvCheck { pub struct KvMutation { pub key: Vec<u8>, pub kind: MutationKind, + pub expire_at: Option<u64>, } /// A request to enqueue a message to the database. This message is delivered |