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: T
The Artifact that was written
file: PathBuf
path to the file where the artifact
was written to
version: Version
solc
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 for ArtifactFile<T>
impl<T: PartialEq> PartialEq 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 ==
.impl<T: Eq> Eq for ArtifactFile<T>
impl<T> StructuralPartialEq for ArtifactFile<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for ArtifactFile<T>where
T: RefUnwindSafe,
impl<T> Send for ArtifactFile<T>where
T: Send,
impl<T> Sync for ArtifactFile<T>where
T: Sync,
impl<T> Unpin for ArtifactFile<T>where
T: Unpin,
impl<T> UnwindSafe for ArtifactFile<T>where
T: UnwindSafe,
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.