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: Value
The solc
ABI output.
metadata: Option<String>
The solc
metadata output.
devdoc: Value
The solc
developer documentation output.
userdoc: Value
The solc
user documentation output.
storage_layout: Value
The solc
storage layout output.
ast: Value
The solc
AST output.
asm: Value
The 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