pub struct Genesis {
pub chain_config_hash: Bytes32,
pub coins_root: Bytes32,
pub contracts_root: Bytes32,
pub messages_root: Bytes32,
}
Fields§
§chain_config_hash: Bytes32
§coins_root: Bytes32
§contracts_root: Bytes32
§messages_root: Bytes32
Trait Implementations§
source§impl<'de> Deserialize<'de> for Genesis
impl<'de> Deserialize<'de> for Genesis
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
source§impl<'de> QueryFragment<'de> for Genesis
impl<'de> QueryFragment<'de> for Genesis
§type SchemaType = Genesis
type SchemaType = Genesis
The type in a schema that this
QueryFragment
representssource§fn query(builder: SelectionBuilder<'_, Self::SchemaType, Self::Variables>)
fn query(builder: SelectionBuilder<'_, Self::SchemaType, Self::Variables>)
Adds this fragment to the query being built by
builder