Struct fuel_core_interfaces::model::DaBlockHeight
source · pub struct DaBlockHeight(pub u64);
Tuple Fields§
§0: u64
Implementations§
Methods from Deref<Target = u64>§
Trait Implementations§
source§impl Add<DaBlockHeight> for DaBlockHeight
impl Add<DaBlockHeight> for DaBlockHeight
§type Output = DaBlockHeight
type Output = DaBlockHeight
The resulting type after applying the
+
operator.source§fn add(self, rhs: DaBlockHeight) -> DaBlockHeight
fn add(self, rhs: DaBlockHeight) -> DaBlockHeight
Performs the
+
operation. Read moresource§impl Add<u64> for DaBlockHeight
impl Add<u64> for DaBlockHeight
source§impl Clone for DaBlockHeight
impl Clone for DaBlockHeight
source§fn clone(&self) -> DaBlockHeight
fn clone(&self) -> DaBlockHeight
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 DaBlockHeight
impl Debug for DaBlockHeight
source§impl Default for DaBlockHeight
impl Default for DaBlockHeight
source§fn default() -> DaBlockHeight
fn default() -> DaBlockHeight
Returns the “default value” for a type. Read more
source§impl Deref for DaBlockHeight
impl Deref for DaBlockHeight
source§impl Display for DaBlockHeight
impl Display for DaBlockHeight
source§impl From<DaBlockHeight> for Vec<u8>
impl From<DaBlockHeight> for Vec<u8>
source§fn from(height: DaBlockHeight) -> Self
fn from(height: DaBlockHeight) -> Self
Converts to this type from the input type.
source§impl From<DaBlockHeight> for u64
impl From<DaBlockHeight> for u64
source§fn from(original: DaBlockHeight) -> Self
fn from(original: DaBlockHeight) -> Self
Converts to this type from the input type.
source§impl From<u64> for DaBlockHeight
impl From<u64> for DaBlockHeight
source§fn from(original: u64) -> DaBlockHeight
fn from(original: u64) -> DaBlockHeight
Converts to this type from the input type.
source§impl From<usize> for DaBlockHeight
impl From<usize> for DaBlockHeight
source§impl Hash for DaBlockHeight
impl Hash for DaBlockHeight
source§impl Ord for DaBlockHeight
impl Ord for DaBlockHeight
source§fn cmp(&self, other: &DaBlockHeight) -> Ordering
fn cmp(&self, other: &DaBlockHeight) -> 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<DaBlockHeight> for DaBlockHeight
impl PartialEq<DaBlockHeight> for DaBlockHeight
source§fn eq(&self, other: &DaBlockHeight) -> bool
fn eq(&self, other: &DaBlockHeight) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<DaBlockHeight> for DaBlockHeight
impl PartialOrd<DaBlockHeight> for DaBlockHeight
source§fn partial_cmp(&self, other: &DaBlockHeight) -> Option<Ordering>
fn partial_cmp(&self, other: &DaBlockHeight) -> 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 Rem<DaBlockHeight> for DaBlockHeight
impl Rem<DaBlockHeight> for DaBlockHeight
§type Output = DaBlockHeight
type Output = DaBlockHeight
The resulting type after applying the
%
operator.source§fn rem(self, rhs: DaBlockHeight) -> DaBlockHeight
fn rem(self, rhs: DaBlockHeight) -> DaBlockHeight
Performs the
%
operation. Read moresource§impl Sub<DaBlockHeight> for DaBlockHeight
impl Sub<DaBlockHeight> for DaBlockHeight
§type Output = DaBlockHeight
type Output = DaBlockHeight
The resulting type after applying the
-
operator.source§fn sub(self, rhs: DaBlockHeight) -> DaBlockHeight
fn sub(self, rhs: DaBlockHeight) -> DaBlockHeight
Performs the
-
operation. Read more