pub struct Seq(pub u32);Expand description
Per-token monotonic sequence number, assigned by the store at append
(contract C-3). Identity of a record is (token, seq) — the dedup key
(C-4).
Tuple Fields§
§0: u32Trait Implementations§
impl Copy for Seq
Source§impl<'de> Deserialize<'de> for Seq
impl<'de> Deserialize<'de> for Seq
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 Seq
Source§impl Ord for Seq
impl Ord for Seq
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
Source§impl PartialOrd for Seq
impl PartialOrd for Seq
impl StructuralPartialEq for Seq
Auto Trait Implementations§
impl Freeze for Seq
impl RefUnwindSafe for Seq
impl Send for Seq
impl Sync for Seq
impl Unpin for Seq
impl UnsafeUnpin for Seq
impl UnwindSafe for Seq
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