pub struct ChangedRowCounts {
pub changed: u64,
pub before: u64,
pub present: u64,
}Expand description
The changed rows of one relation generation, counted.
Fields§
§changed: u64The rows the transaction changed.
before: u64The changed rows that were present before the transaction first changed them.
present: u64The changed rows that are present now.
Implementations§
Source§impl ChangedRowCounts
impl ChangedRowCounts
Sourcepub fn visible_rows(self, snapshot_rows: u64) -> Option<u64>
pub fn visible_rows(self, snapshot_rows: u64) -> Option<u64>
The rows a read of the relation sees, given the rows its snapshot holds.
Trait Implementations§
Source§impl Clone for ChangedRowCounts
impl Clone for ChangedRowCounts
impl Copy for ChangedRowCounts
Source§impl Debug for ChangedRowCounts
impl Debug for ChangedRowCounts
Source§impl Default for ChangedRowCounts
impl Default for ChangedRowCounts
impl Eq for ChangedRowCounts
Source§impl PartialEq for ChangedRowCounts
impl PartialEq for ChangedRowCounts
impl StructuralPartialEq for ChangedRowCounts
Auto Trait Implementations§
impl Freeze for ChangedRowCounts
impl RefUnwindSafe for ChangedRowCounts
impl Send for ChangedRowCounts
impl Sync for ChangedRowCounts
impl Unpin for ChangedRowCounts
impl UnsafeUnpin for ChangedRowCounts
impl UnwindSafe for ChangedRowCounts
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more