Struct common_types::snapshot_manifest::ManifestData[][src]

pub struct ManifestData {
    pub version: u64,
    pub state_hashes: Vec<H256>,
    pub block_hashes: Vec<H256>,
    pub state_root: H256,
    pub block_number: u64,
    pub block_hash: H256,
}

Manifest data.

Fields

Snapshot format version.

List of state chunk hashes.

List of block chunk hashes.

The final, expected state root.

Block number this snapshot was taken at.

Block hash this snapshot was taken at.

Methods

impl ManifestData
[src]

Encode the manifest data to rlp.

Try to restore manifest data from raw bytes, interpreted as RLP.

Trait Implementations

impl Debug for ManifestData
[src]

Formats the value using the given formatter. Read more

impl Clone for ManifestData
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for ManifestData
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for ManifestData
[src]

Auto Trait Implementations

impl Send for ManifestData

impl Sync for ManifestData