pub struct BlockExt {
pub received_at: u64,
pub total_difficulty: U256,
pub total_uncles_count: u64,
pub verified: Option<bool>,
pub txs_fees: Vec<Capacity>,
pub cycles: Option<Vec<Cycle>>,
pub txs_sizes: Option<Vec<u64>>,
}
Expand description
TODO(doc): @quake
Fields§
§received_at: u64
TODO(doc): @quake
total_difficulty: U256
TODO(doc): @quake
total_uncles_count: u64
TODO(doc): @quake
verified: Option<bool>
TODO(doc): @quake
txs_fees: Vec<Capacity>
TODO(doc): @quake
cycles: Option<Vec<Cycle>>
block txs consumed cycles
txs_sizes: Option<Vec<u64>>
block txs serialized sizes
Trait Implementations§
source§impl Pack<BlockExtV1> for BlockExt
impl Pack<BlockExtV1> for BlockExt
source§fn pack(&self) -> BlockExtV1
fn pack(&self) -> BlockExtV1
Packs a rust type into binary data.
source§impl PartialEq for BlockExt
impl PartialEq for BlockExt
source§impl<'r> Unpack<BlockExt> for BlockExtReader<'r>
impl<'r> Unpack<BlockExt> for BlockExtReader<'r>
source§impl Unpack<BlockExt> for BlockExtV1
impl Unpack<BlockExt> for BlockExtV1
source§impl<'r> Unpack<BlockExt> for BlockExtV1Reader<'r>
impl<'r> Unpack<BlockExt> for BlockExtV1Reader<'r>
impl Eq for BlockExt
impl StructuralEq for BlockExt
impl StructuralPartialEq for BlockExt
Auto Trait Implementations§
impl RefUnwindSafe for BlockExt
impl Send for BlockExt
impl Sync for BlockExt
impl Unpin for BlockExt
impl UnwindSafe for BlockExt
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