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 ==
.impl Copy for HeaderField
impl Eq for HeaderField
impl StructuralEq for HeaderField
impl StructuralPartialEq for HeaderField
Auto Trait Implementations§
impl RefUnwindSafe for HeaderField
impl Send for HeaderField
impl Sync for HeaderField
impl Unpin for HeaderField
impl UnwindSafe for HeaderField
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