pub struct Parent {
pub row: RowId,
pub generation: u64,
}Expand description
The parent and odd incarnation a reference names (§9.1).
Fields§
§row: RowIdThe referenced row, including its audience.
generation: u64The parent’s generation.
Implementations§
Source§impl Parent
impl Parent
Sourcepub fn validate_written(&self, child: &RowId) -> Result<(), MergeError>
pub fn validate_written(&self, child: &RowId) -> Result<(), MergeError>
Validate a written reference from child: it must name an odd
incarnation in the child’s audience or the store (§9.1, §15.3).
Trait Implementations§
impl Eq for Parent
impl StructuralPartialEq for Parent
Auto Trait Implementations§
impl Freeze for Parent
impl RefUnwindSafe for Parent
impl Send for Parent
impl Sync for Parent
impl Unpin for Parent
impl UnsafeUnpin for Parent
impl UnwindSafe for Parent
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