Struct ethcontract_common::contract::Network [−][src]
pub struct Network { pub address: Address, pub deployment_information: Option<DeploymentInformation>, }
Expand description
A contract’s network configuration.
Fields
address: Address
The address at which the contract is deployed on this network.
deployment_information: Option<DeploymentInformation>
The hash of the transaction that deployed the contract on this network.
Trait Implementations
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 RefUnwindSafe for Network
impl UnwindSafe for Network
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self