pub struct Header {
pub id: Bytes32,
pub da_height: u64,
pub transactions_count: u64,
pub output_messages_count: u64,
pub transactions_root: Bytes32,
pub output_messages_root: Bytes32,
pub height: u64,
pub prev_root: Bytes32,
pub time: Option<DateTime<Utc>>,
pub application_hash: Bytes32,
}
Formats the value using the given formatter.
Read more
Converts to this type from the input type.
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Instruments this type with the provided
Span
, returning an
Instrumented
wrapper.
Read more
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.