Struct ethers_solc::buildinfo::RawBuildInfo
source · pub struct RawBuildInfo {
pub id: String,
pub build_info: String,
}Expand description
Represents BuildInfo object
Fields§
§id: StringThe hash that identifies the BuildInfo
build_info: Stringserialized BuildInfo json
Implementations§
source§impl RawBuildInfo
impl RawBuildInfo
sourcepub fn new(
input: &CompilerInput,
output: &CompilerOutput,
version: &Version
) -> Result<RawBuildInfo>
pub fn new( input: &CompilerInput, output: &CompilerOutput, version: &Version ) -> Result<RawBuildInfo>
Serializes a BuildInfo object
Trait Implementations§
source§impl Clone for RawBuildInfo
impl Clone for RawBuildInfo
source§fn clone(&self) -> RawBuildInfo
fn clone(&self) -> RawBuildInfo
Returns a copy 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 RawBuildInfo
impl Debug for RawBuildInfo
source§impl PartialEq<RawBuildInfo> for RawBuildInfo
impl PartialEq<RawBuildInfo> for RawBuildInfo
source§fn eq(&self, other: &RawBuildInfo) -> bool
fn eq(&self, other: &RawBuildInfo) -> bool
This method tests for
self and other values to be equal, and is used
by ==.