Struct fuel_chain_config::config::ContractConfig
source · pub struct ContractConfig {
pub code: Vec<u8>,
pub salt: Salt,
pub state: Option<Vec<(Bytes32, Bytes32)>>,
pub balances: Option<Vec<(AssetId, u64)>>,
}
Fields§
§code: Vec<u8>
§salt: Salt
§state: Option<Vec<(Bytes32, Bytes32)>>
§balances: Option<Vec<(AssetId, u64)>>
Trait Implementations§
source§impl Clone for ContractConfig
impl Clone for ContractConfig
source§fn clone(&self) -> ContractConfig
fn clone(&self) -> ContractConfig
Returns a copy 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 ContractConfig
impl Debug for ContractConfig
source§impl<'de> Deserialize<'de> for ContractConfig
impl<'de> Deserialize<'de> for ContractConfig
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 PartialEq<ContractConfig> for ContractConfig
impl PartialEq<ContractConfig> for ContractConfig
source§fn eq(&self, other: &ContractConfig) -> bool
fn eq(&self, other: &ContractConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.