Struct fuel_core_interfaces::model::FuelBlock
source · [−]pub struct FuelBlock {
pub header: FuelBlockHeader,
pub transactions: Vec<Transaction>,
}Expand description
Fuel block with all transaction data included
Fields
header: FuelBlockHeadertransactions: Vec<Transaction>Implementations
sourceimpl FuelBlock
impl FuelBlock
pub fn id(&self) -> Bytes32
pub fn to_db_block(&self) -> FuelBlockDb
pub fn transaction_data_lenght(&self) -> usize
pub fn transaction_data_hash(&self) -> Bytes32
pub fn validator_set_hash(&self) -> Bytes32
pub fn transaction_sum(&self) -> usize
pub fn withdrawals(&self) -> Vec<(Address, Word, AssetId)>
pub fn withdrawals_root(&self) -> Bytes32
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for FuelBlock
impl Send for FuelBlock
impl Sync for FuelBlock
impl Unpin for FuelBlock
impl UnwindSafe for FuelBlock
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more