Struct ethers_solc::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 for VersionedSourceFile
impl PartialEq for VersionedSourceFile
source§fn eq(&self, other: &VersionedSourceFile) -> bool
fn eq(&self, other: &VersionedSourceFile) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VersionedSourceFile
impl Serialize for VersionedSourceFile
impl Eq 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<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.