Struct ethers_solc::buildinfo::RawBuildInfo
source · pub struct RawBuildInfo {
pub id: String,
pub build_info: String,
}
Expand description
Represents BuildInfo
object
Fields§
§id: String
The hash that identifies the BuildInfo
build_info: String
serialized 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<'de> Deserialize<'de> for RawBuildInfo
impl<'de> Deserialize<'de> for RawBuildInfo
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
source§impl PartialEq for RawBuildInfo
impl PartialEq 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 ==
.source§impl Serialize for RawBuildInfo
impl Serialize for RawBuildInfo
impl Eq for RawBuildInfo
impl StructuralPartialEq for RawBuildInfo
Auto Trait Implementations§
impl RefUnwindSafe for RawBuildInfo
impl Send for RawBuildInfo
impl Sync for RawBuildInfo
impl Unpin for RawBuildInfo
impl UnwindSafe for RawBuildInfo
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.