Struct ethers_solc::info::FullContractInfo
source · pub struct FullContractInfo {
pub path: String,
pub name: String,
}
Expand description
Represents the common contract argument pattern <path>:<contractname>
Fields§
§path: String
Location of the contract
name: String
Name of the contract
Trait Implementations§
source§impl Clone for FullContractInfo
impl Clone for FullContractInfo
source§fn clone(&self) -> FullContractInfo
fn clone(&self) -> FullContractInfo
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 FullContractInfo
impl Debug for FullContractInfo
source§impl Display for FullContractInfo
impl Display for FullContractInfo
source§impl<'a> From<&'a FullContractInfo> for ContractInfoRef<'a>
impl<'a> From<&'a FullContractInfo> for ContractInfoRef<'a>
source§fn from(info: &'a FullContractInfo) -> Self
fn from(info: &'a FullContractInfo) -> Self
Converts to this type from the input type.
source§impl From<FullContractInfo> for ContractInfo
impl From<FullContractInfo> for ContractInfo
source§fn from(info: FullContractInfo) -> Self
fn from(info: FullContractInfo) -> Self
Converts to this type from the input type.
source§impl<'a> From<FullContractInfo> for ContractInfoRef<'a>
impl<'a> From<FullContractInfo> for ContractInfoRef<'a>
source§fn from(info: FullContractInfo) -> Self
fn from(info: FullContractInfo) -> Self
Converts to this type from the input type.
source§impl FromStr for FullContractInfo
impl FromStr for FullContractInfo
source§impl Hash for FullContractInfo
impl Hash for FullContractInfo
source§impl PartialEq for FullContractInfo
impl PartialEq for FullContractInfo
source§fn eq(&self, other: &FullContractInfo) -> bool
fn eq(&self, other: &FullContractInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<ContractInfo> for FullContractInfo
impl TryFrom<ContractInfo> for FullContractInfo
§type Error = ParseContractInfoError
type Error = ParseContractInfoError
The type returned in the event of a conversion error.
impl Eq for FullContractInfo
impl StructuralPartialEq for FullContractInfo
Auto Trait Implementations§
impl RefUnwindSafe for FullContractInfo
impl Send for FullContractInfo
impl Sync for FullContractInfo
impl Unpin for FullContractInfo
impl UnwindSafe for FullContractInfo
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.