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§impl TryFrom<ContractInfo> for FullContractInfo
impl TryFrom<ContractInfo> for FullContractInfo
Source§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 Freeze for FullContractInfo
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more