Struct ethers_solc::info::ContractInfoRef
source · pub struct ContractInfoRef<'a> {
pub path: Option<Cow<'a, str>>,
pub name: Cow<'a, str>,
}
Expand description
The reference type for ContractInfo
Fields§
§path: Option<Cow<'a, str>>
§name: Cow<'a, str>
Trait Implementations§
source§impl<'a> Clone for ContractInfoRef<'a>
impl<'a> Clone for ContractInfoRef<'a>
source§fn clone(&self) -> ContractInfoRef<'a>
fn clone(&self) -> ContractInfoRef<'a>
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<'a> Debug for ContractInfoRef<'a>
impl<'a> Debug for ContractInfoRef<'a>
source§impl<'a> From<&'a ContractInfo> for ContractInfoRef<'a>
impl<'a> From<&'a ContractInfo> for ContractInfoRef<'a>
source§fn from(info: &'a ContractInfo) -> Self
fn from(info: &'a ContractInfo) -> Self
Converts to this type from the input type.
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<'a> From<ContractInfo> for ContractInfoRef<'a>
impl<'a> From<ContractInfo> for ContractInfoRef<'a>
source§fn from(info: ContractInfo) -> Self
fn from(info: ContractInfo) -> 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<'a> Hash for ContractInfoRef<'a>
impl<'a> Hash for ContractInfoRef<'a>
source§impl<'a> PartialEq for ContractInfoRef<'a>
impl<'a> PartialEq for ContractInfoRef<'a>
source§fn eq(&self, other: &ContractInfoRef<'a>) -> bool
fn eq(&self, other: &ContractInfoRef<'a>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<'a> Eq for ContractInfoRef<'a>
impl<'a> StructuralPartialEq for ContractInfoRef<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for ContractInfoRef<'a>
impl<'a> Send for ContractInfoRef<'a>
impl<'a> Sync for ContractInfoRef<'a>
impl<'a> Unpin for ContractInfoRef<'a>
impl<'a> UnwindSafe for ContractInfoRef<'a>
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.