pub struct MigrationEntry {
pub key: Vec<u8>,
pub value: Vec<u8>,
pub ttl_ms: u64,
}Expand description
A single key-value entry being migrated.
Fields§
§key: Vec<u8>The key being migrated.
value: Vec<u8>Serialized value data.
ttl_ms: u64TTL remaining in milliseconds (0 = no expiry).
Trait Implementations§
Source§impl Clone for MigrationEntry
impl Clone for MigrationEntry
Source§fn clone(&self) -> MigrationEntry
fn clone(&self) -> MigrationEntry
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 moreSource§impl Debug for MigrationEntry
impl Debug for MigrationEntry
Source§impl<'de> Deserialize<'de> for MigrationEntry
impl<'de> Deserialize<'de> for MigrationEntry
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for MigrationEntry
impl RefUnwindSafe for MigrationEntry
impl Send for MigrationEntry
impl Sync for MigrationEntry
impl Unpin for MigrationEntry
impl UnsafeUnpin for MigrationEntry
impl UnwindSafe for MigrationEntry
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