pub struct Output {
pub contracts: Option<BTreeMap<String, BTreeMap<String, Contract>>>,
pub sources: Option<BTreeMap<String, Source>>,
pub errors: Option<Vec<Error>>,
pub version: Option<String>,
pub long_version: Option<String>,
pub revive_version: Option<String>,
}
Expand description
The solc --standard-json
output.
Fields§
§contracts: Option<BTreeMap<String, BTreeMap<String, Contract>>>
The file-contract hashmap.
sources: Option<BTreeMap<String, Source>>
The source code mapping data.
errors: Option<Vec<Error>>
The compilation errors and warnings.
version: Option<String>
The solc
compiler version.
long_version: Option<String>
The solc
compiler long version.
revive_version: Option<String>
The resolc
compiler version.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Output
impl<'de> Deserialize<'de> for Output
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 Output
impl RefUnwindSafe for Output
impl Send for Output
impl Sync for Output
impl Unpin for Output
impl UnwindSafe for Output
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