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: DaBlockHeight
The 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: Generated
Generated application fields.
Trait Implementations§
Source§impl<Generated: Clone> Clone for FuelApplicationHeader<Generated>
impl<Generated: Clone> Clone for FuelApplicationHeader<Generated>
Source§fn clone(&self) -> FuelApplicationHeader<Generated>
fn clone(&self) -> FuelApplicationHeader<Generated>
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<Generated: Debug> Debug for FuelApplicationHeader<Generated>
impl<Generated: Debug> Debug for FuelApplicationHeader<Generated>
Auto Trait Implementations§
impl<Generated> Freeze for FuelApplicationHeader<Generated>where
Generated: Freeze,
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§
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more