pub struct SnapEntry {
pub key: String,
pub value: SnapValue,
pub expire_ms: i64,
}Expand description
A single entry in a snapshot file.
Fields§
§key: String§value: SnapValue§expire_ms: i64Remaining TTL in milliseconds, or -1 for no expiration.
Trait Implementations§
impl StructuralPartialEq for SnapEntry
Auto Trait Implementations§
impl !Freeze for SnapEntry
impl RefUnwindSafe for SnapEntry
impl Send for SnapEntry
impl Sync for SnapEntry
impl Unpin for SnapEntry
impl UnwindSafe for SnapEntry
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more