Struct concordium_base::base::UpdateSequenceNumber
source · #[repr(transparent)]pub struct UpdateSequenceNumber {
pub number: u64,
}
Expand description
Equivalent of a transaction nonce but for update instructions. Update sequence numbers are per update type.
Fields§
§number: u64
Implementations§
Trait Implementations§
source§impl Clone for UpdateSequenceNumber
impl Clone for UpdateSequenceNumber
source§fn clone(&self) -> UpdateSequenceNumber
fn clone(&self) -> UpdateSequenceNumber
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for UpdateSequenceNumber
impl Debug for UpdateSequenceNumber
source§impl Deserial for UpdateSequenceNumber
impl Deserial for UpdateSequenceNumber
fn deserial<GenericReaderType: ReadBytesExt>( source: &mut GenericReaderType ) -> ParseResult<Self>
source§impl<'de> Deserialize<'de> for UpdateSequenceNumber
impl<'de> Deserialize<'de> for UpdateSequenceNumber
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
source§impl Display for UpdateSequenceNumber
impl Display for UpdateSequenceNumber
source§impl From<UpdateSequenceNumber> for u64
impl From<UpdateSequenceNumber> for u64
source§fn from(original: UpdateSequenceNumber) -> Self
fn from(original: UpdateSequenceNumber) -> Self
Converts to this type from the input type.
source§impl From<u64> for UpdateSequenceNumber
impl From<u64> for UpdateSequenceNumber
source§fn from(original: u64) -> UpdateSequenceNumber
fn from(original: u64) -> UpdateSequenceNumber
Converts to this type from the input type.
source§impl FromStr for UpdateSequenceNumber
impl FromStr for UpdateSequenceNumber
source§impl Ord for UpdateSequenceNumber
impl Ord for UpdateSequenceNumber
source§fn cmp(&self, other: &UpdateSequenceNumber) -> Ordering
fn cmp(&self, other: &UpdateSequenceNumber) -> Ordering
1.21.0 · 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 PartialEq<UpdateSequenceNumber> for UpdateSequenceNumber
impl PartialEq<UpdateSequenceNumber> for UpdateSequenceNumber
source§fn eq(&self, other: &UpdateSequenceNumber) -> bool
fn eq(&self, other: &UpdateSequenceNumber) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<UpdateSequenceNumber> for UpdateSequenceNumber
impl PartialOrd<UpdateSequenceNumber> for UpdateSequenceNumber
source§fn partial_cmp(&self, other: &UpdateSequenceNumber) -> Option<Ordering>
fn partial_cmp(&self, other: &UpdateSequenceNumber) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serial for UpdateSequenceNumber
impl Serial for UpdateSequenceNumber
fn serial<GenericBufferType: Buffer>(&self, out: &mut GenericBufferType)
source§impl Serialize for UpdateSequenceNumber
impl Serialize for UpdateSequenceNumber
impl Copy for UpdateSequenceNumber
impl Eq for UpdateSequenceNumber
impl StructuralEq for UpdateSequenceNumber
impl StructuralPartialEq for UpdateSequenceNumber
Auto Trait Implementations§
impl RefUnwindSafe for UpdateSequenceNumber
impl Send for UpdateSequenceNumber
impl Sync for UpdateSequenceNumber
impl Unpin for UpdateSequenceNumber
impl UnwindSafe for UpdateSequenceNumber
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