pub struct BlockHeaderInnerLiteView {
pub block_merkle_root: CryptoHash,
pub epoch_id: CryptoHash,
pub height: u64,
pub next_bp_hash: CryptoHash,
pub next_epoch_id: CryptoHash,
pub outcome_root: CryptoHash,
pub prev_state_root: CryptoHash,
pub timestamp: u64,
pub timestamp_nanosec: String,
}Expand description
BlockHeaderInnerLiteView
JSON schema
{
"type": "object",
"required": [
"block_merkle_root",
"epoch_id",
"height",
"next_bp_hash",
"next_epoch_id",
"outcome_root",
"prev_state_root",
"timestamp",
"timestamp_nanosec"
],
"properties": {
"block_merkle_root": {
"$ref": "#/components/schemas/CryptoHash"
},
"epoch_id": {
"$ref": "#/components/schemas/CryptoHash"
},
"height": {
"type": "integer",
"format": "uint64",
"minimum": 0.0
},
"next_bp_hash": {
"$ref": "#/components/schemas/CryptoHash"
},
"next_epoch_id": {
"$ref": "#/components/schemas/CryptoHash"
},
"outcome_root": {
"$ref": "#/components/schemas/CryptoHash"
},
"prev_state_root": {
"$ref": "#/components/schemas/CryptoHash"
},
"timestamp": {
"description": "Legacy json number. Should not be used.",
"type": "integer",
"format": "uint64",
"minimum": 0.0
},
"timestamp_nanosec": {
"type": "string"
}
}
}Fields§
§block_merkle_root: CryptoHash§epoch_id: CryptoHash§height: u64§next_bp_hash: CryptoHash§next_epoch_id: CryptoHash§outcome_root: CryptoHash§prev_state_root: CryptoHash§timestamp: u64Legacy json number. Should not be used.
timestamp_nanosec: StringTrait 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§const fn clone_from(&mut self, source: &Self)
const 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<BlockHeaderInnerLiteView, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<BlockHeaderInnerLiteView, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&BlockHeaderInnerLiteView> for BlockHeaderInnerLiteView
impl From<&BlockHeaderInnerLiteView> for BlockHeaderInnerLiteView
Source§fn from(value: &BlockHeaderInnerLiteView) -> BlockHeaderInnerLiteView
fn from(value: &BlockHeaderInnerLiteView) -> BlockHeaderInnerLiteView
Converts to this type from the input type.
Source§impl Serialize for BlockHeaderInnerLiteView
impl Serialize for BlockHeaderInnerLiteView
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. 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 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