Struct fuel_core_interfaces::model::FuelApplicationHeader
source · pub struct FuelApplicationHeader<Generated> {
pub da_height: DaBlockHeight,
pub generated: Generated,
}Expand description
The fuel block application header. Contains everything except consensus related data.
Fields
da_height: DaBlockHeightThe layer 1 height of messages and events to include since the last layer 1 block number. This is not meant to represent the layer 1 block this was committed to. Validators will need to have some rules in place to ensure the block number was chosen in a reasonable way. For example, they should verify that the block number satisfies the finality requirements of the layer 1 chain. They should also verify that the block number isn’t too stale and is increasing. Some similar concerns are noted in this issue: https://github.com/FuelLabs/fuel-specs/issues/220
generated: GeneratedGenerated application fields.
Trait Implementations
sourceimpl<Generated: Clone> Clone for FuelApplicationHeader<Generated>
impl<Generated: Clone> Clone for FuelApplicationHeader<Generated>
sourcefn clone(&self) -> FuelApplicationHeader<Generated>
fn clone(&self) -> FuelApplicationHeader<Generated>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl<Generated: Debug> Debug for FuelApplicationHeader<Generated>
impl<Generated: Debug> Debug for FuelApplicationHeader<Generated>
Auto Trait Implementations
impl<Generated> RefUnwindSafe for FuelApplicationHeader<Generated>where
Generated: RefUnwindSafe,
impl<Generated> Send for FuelApplicationHeader<Generated>where
Generated: Send,
impl<Generated> Sync for FuelApplicationHeader<Generated>where
Generated: Sync,
impl<Generated> Unpin for FuelApplicationHeader<Generated>where
Generated: Unpin,
impl<Generated> UnwindSafe for FuelApplicationHeader<Generated>where
Generated: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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