Struct ethers_solc::output::sources::VersionedSourceFile
source · pub struct VersionedSourceFile {
pub source_file: SourceFile,
pub version: Version,
}
Expand description
A SourceFile and the compiler version used to compile it
Fields§
§source_file: SourceFile
§version: Version
Trait Implementations§
source§impl Clone for VersionedSourceFile
impl Clone for VersionedSourceFile
source§fn clone(&self) -> VersionedSourceFile
fn clone(&self) -> VersionedSourceFile
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 VersionedSourceFile
impl Debug for VersionedSourceFile
source§impl<'de> Deserialize<'de> for VersionedSourceFile
impl<'de> Deserialize<'de> for VersionedSourceFile
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<VersionedSourceFile> for VersionedSourceFile
impl PartialEq<VersionedSourceFile> for VersionedSourceFile
source§fn eq(&self, other: &VersionedSourceFile) -> bool
fn eq(&self, other: &VersionedSourceFile) -> bool
source§impl Serialize for VersionedSourceFile
impl Serialize for VersionedSourceFile
impl Eq for VersionedSourceFile
impl StructuralEq for VersionedSourceFile
impl StructuralPartialEq for VersionedSourceFile
Auto Trait Implementations§
impl RefUnwindSafe for VersionedSourceFile
impl Send for VersionedSourceFile
impl Sync for VersionedSourceFile
impl Unpin for VersionedSourceFile
impl UnwindSafe for VersionedSourceFile
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.