pub struct RemovalResult {
pub region: BTreeSet<RowId>,
pub removed: BTreeMap<RowId, BTreeSet<Rule>>,
pub references: BTreeMap<RowId, BTreeMap<ForeignKey, ReferenceValue>>,
}Expand description
Removals and reference readings for a closed region. Replace prior removal
records for ALL rows in region, including rows absent from removed, so
rows whose reasons cleared come back. Their merged states never change.
Fields§
§region: BTreeSet<RowId>Rows recomputed, including deleted/unknown rows at the region’s boundary.
removed: BTreeMap<RowId, BTreeSet<Rule>>Removed rows with every final rule, plus the once-judged losers’ rules.
references: BTreeMap<RowId, BTreeMap<ForeignKey, ReferenceValue>>References as they read in the app’s table.
The original cell setters and timestamps are retained in RowState.
Trait Implementations§
Source§impl Clone for RemovalResult
impl Clone for RemovalResult
Source§fn clone(&self) -> RemovalResult
fn clone(&self) -> RemovalResult
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 RemovalResult
impl Debug for RemovalResult
Source§impl Default for RemovalResult
impl Default for RemovalResult
Source§fn default() -> RemovalResult
fn default() -> RemovalResult
Returns the “default value” for a type. Read more
Source§impl PartialEq for RemovalResult
impl PartialEq for RemovalResult
impl Eq for RemovalResult
impl StructuralPartialEq for RemovalResult
Auto Trait Implementations§
impl Freeze for RemovalResult
impl RefUnwindSafe for RemovalResult
impl Send for RemovalResult
impl Sync for RemovalResult
impl Unpin for RemovalResult
impl UnsafeUnpin for RemovalResult
impl UnwindSafe for RemovalResult
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
type NoneType = T
§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.