Struct jormungandr_lib::interfaces::block0_configuration::epoch_stability_depth::EpochStabilityDepth
source · pub struct EpochStabilityDepth(u32);
Expand description
epoch stability depth
Tuple Fields§
§0: u32
Trait Implementations§
source§impl Clone for EpochStabilityDepth
impl Clone for EpochStabilityDepth
source§fn clone(&self) -> EpochStabilityDepth
fn clone(&self) -> EpochStabilityDepth
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 EpochStabilityDepth
impl Debug for EpochStabilityDepth
source§impl Default for EpochStabilityDepth
impl Default for EpochStabilityDepth
source§impl<'de> Deserialize<'de> for EpochStabilityDepth
impl<'de> Deserialize<'de> for EpochStabilityDepth
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 EpochStabilityDepth
impl Display for EpochStabilityDepth
source§impl From<EpochStabilityDepth> for u32
impl From<EpochStabilityDepth> for u32
source§fn from(v: EpochStabilityDepth) -> Self
fn from(v: EpochStabilityDepth) -> Self
Converts to this type from the input type.
source§impl From<u32> for EpochStabilityDepth
impl From<u32> for EpochStabilityDepth
source§impl Hash for EpochStabilityDepth
impl Hash for EpochStabilityDepth
source§impl Ord for EpochStabilityDepth
impl Ord for EpochStabilityDepth
source§fn cmp(&self, other: &EpochStabilityDepth) -> Ordering
fn cmp(&self, other: &EpochStabilityDepth) -> 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<EpochStabilityDepth> for EpochStabilityDepth
impl PartialEq<EpochStabilityDepth> for EpochStabilityDepth
source§fn eq(&self, other: &EpochStabilityDepth) -> bool
fn eq(&self, other: &EpochStabilityDepth) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<EpochStabilityDepth> for EpochStabilityDepth
impl PartialOrd<EpochStabilityDepth> for EpochStabilityDepth
source§fn partial_cmp(&self, other: &EpochStabilityDepth) -> Option<Ordering>
fn partial_cmp(&self, other: &EpochStabilityDepth) -> 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 Serialize for EpochStabilityDepth
impl Serialize for EpochStabilityDepth
impl Copy for EpochStabilityDepth
impl Eq for EpochStabilityDepth
impl StructuralEq for EpochStabilityDepth
impl StructuralPartialEq for EpochStabilityDepth
Auto Trait Implementations§
impl RefUnwindSafe for EpochStabilityDepth
impl Send for EpochStabilityDepth
impl Sync for EpochStabilityDepth
impl Unpin for EpochStabilityDepth
impl UnwindSafe for EpochStabilityDepth
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