Struct fuel_core_interfaces::model::FuelBlockDb
source · pub struct FuelBlockDb {
pub header: FuelBlockHeader,
pub transactions: Vec<Bytes32>,
}
Expand description
The compact representation of a block used in the database
Fields§
§header: FuelBlockHeader
§transactions: Vec<Bytes32>
Implementations§
source§impl FuelBlockDb
impl FuelBlockDb
sourcepub fn consensus_type(&self) -> ConsensusType
pub fn consensus_type(&self) -> ConsensusType
The type of consensus this header is using.
Trait Implementations§
source§impl Clone for FuelBlockDb
impl Clone for FuelBlockDb
source§fn clone(&self) -> FuelBlockDb
fn clone(&self) -> FuelBlockDb
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 more