pub struct BlockHeaderInnerLiteView {
pub height: u64,
pub epoch_id: CryptoHash,
pub next_epoch_id: CryptoHash,
pub prev_state_root: CryptoHash,
pub outcome_root: CryptoHash,
pub timestamp: u64,
pub timestamp_nanosec: String,
pub next_bp_hash: CryptoHash,
pub block_merkle_root: CryptoHash,
}Expand description
Block header inner lite (for light client proofs).
Fields§
§height: u64Block height.
epoch_id: CryptoHashEpoch ID.
next_epoch_id: CryptoHashNext epoch ID.
prev_state_root: CryptoHashPrevious state root.
outcome_root: CryptoHashOutcome root.
timestamp: u64Timestamp (legacy, as u64).
timestamp_nanosec: StringTimestamp in nanoseconds.
next_bp_hash: CryptoHashNext block producers hash.
block_merkle_root: CryptoHashBlock merkle root.
Trait Implementations§
Source§impl Clone for BlockHeaderInnerLiteView
impl Clone for BlockHeaderInnerLiteView
Source§fn clone(&self) -> BlockHeaderInnerLiteView
fn clone(&self) -> BlockHeaderInnerLiteView
Returns a duplicate 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 Debug for BlockHeaderInnerLiteView
impl Debug for BlockHeaderInnerLiteView
Source§impl<'de> Deserialize<'de> for BlockHeaderInnerLiteView
impl<'de> Deserialize<'de> for BlockHeaderInnerLiteView
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for BlockHeaderInnerLiteView
impl RefUnwindSafe for BlockHeaderInnerLiteView
impl Send for BlockHeaderInnerLiteView
impl Sync for BlockHeaderInnerLiteView
impl Unpin for BlockHeaderInnerLiteView
impl UnsafeUnpin for BlockHeaderInnerLiteView
impl UnwindSafe for BlockHeaderInnerLiteView
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