pub struct RecoveredEntry {
pub key: String,
pub value: RecoveredValue,
pub expires_at: Option<Instant>,
}Expand description
A single recovered entry ready to be inserted into a keyspace.
Fields§
§key: String§value: RecoveredValue§expires_at: Option<Instant>Absolute deadline computed from the persisted remaining TTL.
None means no expiration.
Trait Implementations§
Source§impl Clone for RecoveredEntry
impl Clone for RecoveredEntry
Source§fn clone(&self) -> RecoveredEntry
fn clone(&self) -> RecoveredEntry
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !Freeze for RecoveredEntry
impl RefUnwindSafe for RecoveredEntry
impl Send for RecoveredEntry
impl Sync for RecoveredEntry
impl Unpin for RecoveredEntry
impl UnwindSafe for RecoveredEntry
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