Struct ethers_solc::ArtifactFile
source · pub struct ArtifactFile<T> {
pub artifact: T,
pub file: PathBuf,
pub version: Version,
}Expand description
Represents an artifact file representing a crate::Contract
Fields§
§artifact: TThe Artifact that was written
file: PathBufpath to the file where the artifact was written to
version: Versionsolc version that produced this artifact
Implementations§
source§impl<T: Serialize> ArtifactFile<T>
impl<T: Serialize> ArtifactFile<T>
Trait Implementations§
source§impl<T: Clone> Clone for ArtifactFile<T>
impl<T: Clone> Clone for ArtifactFile<T>
source§fn clone(&self) -> ArtifactFile<T>
fn clone(&self) -> ArtifactFile<T>
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<T: Debug> Debug for ArtifactFile<T>
impl<T: Debug> Debug for ArtifactFile<T>
source§impl<T: PartialEq> PartialEq<ArtifactFile<T>> for ArtifactFile<T>
impl<T: PartialEq> PartialEq<ArtifactFile<T>> for ArtifactFile<T>
source§fn eq(&self, other: &ArtifactFile<T>) -> bool
fn eq(&self, other: &ArtifactFile<T>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.