pub enum ReferenceValue {
Original {
parent: Parent,
stale: bool,
},
Null,
}Expand description
What a reference reads as in the app’s table. Substitution changes neither its winning write nor its timestamp; lost values stay as written (§9.1).
Variants§
Original
The original parent; stale references take their children out.
Fields
Null
A set-null reference whose parent’s generation was deleted.
Trait Implementations§
Source§impl Clone for ReferenceValue
impl Clone for ReferenceValue
Source§fn clone(&self) -> ReferenceValue
fn clone(&self) -> ReferenceValue
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 ReferenceValue
impl Debug for ReferenceValue
Source§impl PartialEq for ReferenceValue
impl PartialEq for ReferenceValue
impl Eq for ReferenceValue
impl StructuralPartialEq for ReferenceValue
Auto Trait Implementations§
impl Freeze for ReferenceValue
impl RefUnwindSafe for ReferenceValue
impl Send for ReferenceValue
impl Sync for ReferenceValue
impl Unpin for ReferenceValue
impl UnsafeUnpin for ReferenceValue
impl UnwindSafe for ReferenceValue
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