pub struct TombstoneGeneration {
pub seq: ChangeSeq,
pub delta_index: u32,
}Expand description
Names one deletion generation: the commit that recorded a tombstone event and the position that disambiguates it inside that commit.
Shared by the tombstone row and the WAL delta that revokes one, so a revoke names its target in the same spelling everywhere.
Fields§
§seq: ChangeSeqCommit sequence that published the event.
delta_index: u32Position that disambiguates the event within seq.
Trait Implementations§
Source§impl Clone for TombstoneGeneration
impl Clone for TombstoneGeneration
impl Copy for TombstoneGeneration
Source§impl Debug for TombstoneGeneration
impl Debug for TombstoneGeneration
Source§impl<'de> Deserialize<'de> for TombstoneGeneration
impl<'de> Deserialize<'de> for TombstoneGeneration
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for TombstoneGeneration
Source§impl Ord for TombstoneGeneration
impl Ord for TombstoneGeneration
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for TombstoneGeneration
impl PartialEq for TombstoneGeneration
Source§impl PartialOrd for TombstoneGeneration
impl PartialOrd for TombstoneGeneration
Source§impl Serialize for TombstoneGeneration
impl Serialize for TombstoneGeneration
impl StructuralPartialEq for TombstoneGeneration
Auto Trait Implementations§
impl Freeze for TombstoneGeneration
impl RefUnwindSafe for TombstoneGeneration
impl Send for TombstoneGeneration
impl Sync for TombstoneGeneration
impl Unpin for TombstoneGeneration
impl UnsafeUnpin for TombstoneGeneration
impl UnwindSafe for TombstoneGeneration
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