pub struct ColumnValue<V> {
pub value: V,
pub parents: BTreeMap<ForeignKey, Parent>,
}Expand description
A column’s value and the parent generations recorded with it. The metadata follows the winning setter, including for values kept as lost.
Fields§
§value: VThe app’s value; the merge does not interpret SQL values.
parents: BTreeMap<ForeignKey, Parent>Foreign-key names and their parents for this column’s written value. Each cell retains the complete parent identity recorded by its setter.
Trait Implementations§
Source§impl<V: Clone> Clone for ColumnValue<V>
impl<V: Clone> Clone for ColumnValue<V>
Source§fn clone(&self) -> ColumnValue<V>
fn clone(&self) -> ColumnValue<V>
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<V: Debug> Debug for ColumnValue<V>
impl<V: Debug> Debug for ColumnValue<V>
Source§impl<V: PartialEq> PartialEq for ColumnValue<V>
impl<V: PartialEq> PartialEq for ColumnValue<V>
impl<V: Eq> Eq for ColumnValue<V>
impl<V> StructuralPartialEq for ColumnValue<V>
Auto Trait Implementations§
impl<V> Freeze for ColumnValue<V>where
V: Freeze,
impl<V> RefUnwindSafe for ColumnValue<V>where
V: RefUnwindSafe,
impl<V> Send for ColumnValue<V>where
V: Send,
impl<V> Sync for ColumnValue<V>where
V: Sync,
impl<V> Unpin for ColumnValue<V>where
V: Unpin,
impl<V> UnsafeUnpin for ColumnValue<V>where
V: UnsafeUnpin,
impl<V> UnwindSafe for ColumnValue<V>where
V: UnwindSafe,
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