pub struct Contract {
pub hashes: BTreeMap<String, String>,
pub abi: Value,
pub metadata: Option<String>,
pub devdoc: Value,
pub userdoc: Value,
pub storage_layout: Value,
pub ast: Value,
pub asm: Value,
pub bin: Option<String>,
pub bin_runtime: Option<String>,
}Expand description
The contract.
Fields§
§hashes: BTreeMap<String, String>The solc hashes output.
abi: ValueThe solc ABI output.
metadata: Option<String>The solc metadata output.
devdoc: ValueThe solc developer documentation output.
userdoc: ValueThe solc user documentation output.
storage_layout: ValueThe solc storage layout output.
ast: ValueThe solc AST output.
asm: ValueThe solc assembly output.
bin: Option<String>The solc hexadecimal binary output.
bin_runtime: Option<String>The solc hexadecimal binary runtime part output.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Contract
impl<'de> Deserialize<'de> for Contract
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 Contract
impl RefUnwindSafe for Contract
impl Send for Contract
impl Sync for Contract
impl Unpin for Contract
impl UnwindSafe for Contract
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