pub enum KeptValue {
Value(Value),
Digest([u8; 32]),
}Expand description
A value an accepted change wrote, as its kept record holds it (D7.3): in full when the column was a reference under the change’s schema, since a later write’s foreign-key actions read it and the parents it named; else only its digest, which tells whether a later delete shows the same value.
Variants§
Value(Value)
The value itself.
Digest([u8; 32])
coven_crypto::kept_value_digest of the value’s encoding.
Implementations§
Trait Implementations§
impl Eq for KeptValue
impl StructuralPartialEq for KeptValue
Auto Trait Implementations§
impl Freeze for KeptValue
impl RefUnwindSafe for KeptValue
impl Send for KeptValue
impl Sync for KeptValue
impl Unpin for KeptValue
impl UnsafeUnpin for KeptValue
impl UnwindSafe for KeptValue
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more