pub struct Loss {
pub row: RowId,
pub generation: u64,
pub frozen: bool,
pub values: LossValues,
pub cause: LossCause,
}Expand description
A loss independent of local SQLite identities. Active losses follow merge; frozen losses keep their values and cause after their merge history is gone.
Fields§
§row: RowIdOriginal table, key and audience.
generation: u64Cell incarnation, removed-row generation, or excluded change’s generation.
frozen: boolWhether this loss is frozen outside merge.
values: LossValuesValues as written, with each value’s setter.
cause: LossCauseWhat displaced these values.
Implementations§
Trait Implementations§
impl Eq for Loss
impl StructuralPartialEq for Loss
Auto Trait Implementations§
impl Freeze for Loss
impl RefUnwindSafe for Loss
impl Send for Loss
impl Sync for Loss
impl Unpin for Loss
impl UnsafeUnpin for Loss
impl UnwindSafe for Loss
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