Enum chainhook_types::StacksEpochId
source · #[repr(u32)]pub enum StacksEpochId {
Epoch10 = 4_096,
Epoch20 = 8_192,
Epoch2_05 = 8_197,
Epoch21 = 8_202,
Epoch22 = 8_207,
Epoch23 = 8_212,
Epoch24 = 8_217,
}Variants§
Epoch10 = 4_096
Epoch20 = 8_192
Epoch2_05 = 8_197
Epoch21 = 8_202
Epoch22 = 8_207
Epoch23 = 8_212
Epoch24 = 8_217
Trait Implementations§
source§impl Clone for StacksEpochId
impl Clone for StacksEpochId
source§fn clone(&self) -> StacksEpochId
fn clone(&self) -> StacksEpochId
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 StacksEpochId
impl Debug for StacksEpochId
source§impl<'de> Deserialize<'de> for StacksEpochId
impl<'de> Deserialize<'de> for StacksEpochId
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 StacksEpochId
impl Display for StacksEpochId
source§impl Hash for StacksEpochId
impl Hash for StacksEpochId
source§impl Ord for StacksEpochId
impl Ord for StacksEpochId
source§fn cmp(&self, other: &StacksEpochId) -> Ordering
fn cmp(&self, other: &StacksEpochId) -> 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 for StacksEpochId
impl PartialEq for StacksEpochId
source§fn eq(&self, other: &StacksEpochId) -> bool
fn eq(&self, other: &StacksEpochId) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for StacksEpochId
impl PartialOrd for StacksEpochId
source§fn partial_cmp(&self, other: &StacksEpochId) -> Option<Ordering>
fn partial_cmp(&self, other: &StacksEpochId) -> 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 StacksEpochId
impl Serialize for StacksEpochId
impl Copy for StacksEpochId
impl Eq for StacksEpochId
impl StructuralEq for StacksEpochId
impl StructuralPartialEq for StacksEpochId
Auto Trait Implementations§
impl RefUnwindSafe for StacksEpochId
impl Send for StacksEpochId
impl Sync for StacksEpochId
impl Unpin for StacksEpochId
impl UnwindSafe for StacksEpochId
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