pub struct ContractInfo {
pub address: String,
pub code_hash: String,
pub deployer: String,
pub deploy_block: u64,
pub verified: bool,
}Expand description
Contract information
Fields§
§address: StringContract address
code_hash: StringCode hash
deployer: StringDeployer address
deploy_block: u64Deploy block number
verified: boolWhether contract is verified
Trait Implementations§
Source§impl Clone for ContractInfo
impl Clone for ContractInfo
Source§fn clone(&self) -> ContractInfo
fn clone(&self) -> ContractInfo
Returns a duplicate 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 ContractInfo
impl Debug for ContractInfo
Source§impl<'de> Deserialize<'de> for ContractInfo
impl<'de> Deserialize<'de> for ContractInfo
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
Auto Trait Implementations§
impl Freeze for ContractInfo
impl RefUnwindSafe for ContractInfo
impl Send for ContractInfo
impl Sync for ContractInfo
impl Unpin for ContractInfo
impl UnwindSafe for ContractInfo
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