pub struct BlockSequence(pub u64);Expand description
Monotonic per-turn block ordinal, assigned once when the fact machine commits a block; dense and gap-free (validated on replay).
Tuple Fields§
§0: u64Trait Implementations§
Source§impl Clone for BlockSequence
impl Clone for BlockSequence
Source§fn clone(&self) -> BlockSequence
fn clone(&self) -> BlockSequence
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BlockSequence
Source§impl Debug for BlockSequence
impl Debug for BlockSequence
Source§impl<'de> Deserialize<'de> for BlockSequence
impl<'de> Deserialize<'de> for BlockSequence
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 BlockSequence
Source§impl Hash for BlockSequence
impl Hash for BlockSequence
Source§impl Ord for BlockSequence
impl Ord for BlockSequence
Source§fn cmp(&self, other: &BlockSequence) -> Ordering
fn cmp(&self, other: &BlockSequence) -> Ordering
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 BlockSequence
impl PartialEq for BlockSequence
Source§impl PartialOrd for BlockSequence
impl PartialOrd for BlockSequence
Source§impl Serialize for BlockSequence
impl Serialize for BlockSequence
impl StructuralPartialEq for BlockSequence
Auto Trait Implementations§
impl Freeze for BlockSequence
impl RefUnwindSafe for BlockSequence
impl Send for BlockSequence
impl Sync for BlockSequence
impl Unpin for BlockSequence
impl UnsafeUnpin for BlockSequence
impl UnwindSafe for BlockSequence
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