Enum ckb_std::ckb_constants::HeaderField
source · #[repr(u64)]
pub enum HeaderField {
EpochNumber,
EpochStartBlockNumber,
EpochLength,
}Variants§
Trait Implementations§
source§impl Clone for HeaderField
impl Clone for HeaderField
source§fn clone(&self) -> HeaderField
fn clone(&self) -> HeaderField
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 HeaderField
impl Debug for HeaderField
source§impl PartialEq<HeaderField> for HeaderField
impl PartialEq<HeaderField> for HeaderField
source§fn eq(&self, other: &HeaderField) -> bool
fn eq(&self, other: &HeaderField) -> bool
This method tests for
self and other values to be equal, and is used
by ==.