Struct everscale_types::models::block::BlockIdShort
source · pub struct BlockIdShort {
pub shard: ShardIdent,
pub seqno: u32,
}Expand description
Short block id.
Fields§
§shard: ShardIdentBlock shard ident.
seqno: u32Block number in shard.
Trait Implementations§
source§impl Clone for BlockIdShort
impl Clone for BlockIdShort
source§fn clone(&self) -> BlockIdShort
fn clone(&self) -> BlockIdShort
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 BlockIdShort
impl Debug for BlockIdShort
source§impl Default for BlockIdShort
impl Default for BlockIdShort
source§fn default() -> BlockIdShort
fn default() -> BlockIdShort
Returns the “default value” for a type. Read more
source§impl Display for BlockIdShort
impl Display for BlockIdShort
source§impl Hash for BlockIdShort
impl Hash for BlockIdShort
source§impl Ord for BlockIdShort
impl Ord for BlockIdShort
source§fn cmp(&self, other: &BlockIdShort) -> Ordering
fn cmp(&self, other: &BlockIdShort) -> 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<BlockIdShort> for BlockIdShort
impl PartialEq<BlockIdShort> for BlockIdShort
source§fn eq(&self, other: &BlockIdShort) -> bool
fn eq(&self, other: &BlockIdShort) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<BlockIdShort> for BlockIdShort
impl PartialOrd<BlockIdShort> for BlockIdShort
source§fn partial_cmp(&self, other: &BlockIdShort) -> Option<Ordering>
fn partial_cmp(&self, other: &BlockIdShort) -> 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 more