pub struct Contract {
pub hashes: Option<BTreeMap<String, String>>,
pub abi: Option<Value>,
pub metadata: Option<String>,
pub devdoc: Option<Value>,
pub userdoc: Option<Value>,
pub storage_layout: Option<Value>,
pub ast: Option<Value>,
pub asm: Option<Value>,
pub bin: Option<String>,
pub bin_runtime: Option<String>,
pub factory_deps: Option<BTreeMap<String, String>>,
pub missing_libraries: Option<HashSet<String>>,
}
Expand description
The contract.
Fields§
§hashes: Option<BTreeMap<String, String>>
The solc
hashes output.
abi: Option<Value>
The solc
ABI output.
metadata: Option<String>
The solc
metadata output.
devdoc: Option<Value>
The solc
developer documentation output.
userdoc: Option<Value>
The solc
user documentation output.
storage_layout: Option<Value>
The solc
storage layout output.
ast: Option<Value>
The solc
AST output.
asm: Option<Value>
The solc
assembly output.
bin: Option<String>
The solc
hexadecimal binary output.
bin_runtime: Option<String>
The solc
hexadecimal binary runtime part output.
factory_deps: Option<BTreeMap<String, String>>
The factory dependencies.
missing_libraries: Option<HashSet<String>>
The missing libraries.
Implementations§
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