Struct fuel_core::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<'de> Deserialize<'de> for DaBlockHeight
impl<'de> Deserialize<'de> for DaBlockHeight
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<DaBlockHeight, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<DaBlockHeight, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for DaBlockHeight
impl Display for DaBlockHeight
source§impl From<DaBlockHeight> for u64
impl From<DaBlockHeight> for u64
source§fn from(original: DaBlockHeight) -> u64
fn from(original: DaBlockHeight) -> u64
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§fn from(n: usize) -> DaBlockHeight
fn from(n: usize) -> DaBlockHeight
Converts to this type from the input type.
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 Serialize for DaBlockHeight
impl Serialize for DaBlockHeight
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
source§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 moreimpl Copy for DaBlockHeight
impl Eq for DaBlockHeight
impl StructuralEq for DaBlockHeight
impl StructuralPartialEq for DaBlockHeight
Auto Trait Implementations§
impl RefUnwindSafe for DaBlockHeight
impl Send for DaBlockHeight
impl Sync for DaBlockHeight
impl Unpin for DaBlockHeight
impl UnwindSafe for DaBlockHeight
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.