pub struct DocStamp(u64);Expand description
Identifies one value of a Document.
A fresh stamp is minted process-wide wherever a distinct value is
born and a clone carries its source’s, so equal stamps imply
identical content — which is what lets a derived index tell “the same
document” from “the same rev” without hashing the contents.
Process-local and deliberately not serialized: a stamp names nothing outside the process that minted it, and a rev is what a log carries.
Tuple Fields§
§0: u64Implementations§
Trait Implementations§
impl Copy for DocStamp
impl Eq for DocStamp
impl StructuralPartialEq for DocStamp
Auto Trait Implementations§
impl Freeze for DocStamp
impl RefUnwindSafe for DocStamp
impl Send for DocStamp
impl Sync for DocStamp
impl Unpin for DocStamp
impl UnsafeUnpin for DocStamp
impl UnwindSafe for DocStamp
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