Struct fadroma::core::ContractLink  
source · [−]pub struct ContractLink<A> {
    pub address: A,
    pub code_hash: CodeHash,
}Expand description
Info needed to talk to a contract instance.
Fields
address: Acode_hash: CodeHashTrait Implementations
sourceimpl Canonize for ContractLink<HumanAddr>
 
impl Canonize for ContractLink<HumanAddr>
type Output = ContractLink<CanonicalAddr>
fn canonize(self, api: &impl Api) -> StdResult<Self::Output>
sourceimpl<A: Clone> Clone for ContractLink<A>
 
impl<A: Clone> Clone for ContractLink<A>
sourcefn clone(&self) -> ContractLink<A>
 
fn clone(&self) -> ContractLink<A>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl<A: Debug> Debug for ContractLink<A>
 
impl<A: Debug> Debug for ContractLink<A>
sourceimpl<A: Default> Default for ContractLink<A>
 
impl<A: Default> Default for ContractLink<A>
sourcefn default() -> ContractLink<A>
 
fn default() -> ContractLink<A>
Returns the “default value” for a type. Read more
sourceimpl<'de, A> Deserialize<'de> for ContractLink<A> where
    A: Deserialize<'de>, 
 
impl<'de, A> Deserialize<'de> for ContractLink<A> where
    A: Deserialize<'de>, 
sourcefn 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
sourceimpl From<Env> for ContractLink<HumanAddr>
 
impl From<Env> for ContractLink<HumanAddr>
sourcefn from(env: Env) -> ContractLink<HumanAddr>
 
fn from(env: Env) -> ContractLink<HumanAddr>
Converts to this type from the input type.
sourceimpl Humanize for ContractLink<CanonicalAddr>
 
impl Humanize for ContractLink<CanonicalAddr>
sourceimpl<A: JsonSchema> JsonSchema for ContractLink<A>
 
impl<A: JsonSchema> JsonSchema for ContractLink<A>
sourcefn schema_name() -> String
 
fn schema_name() -> String
The name of the generated JSON Schema. Read more
sourcefn json_schema(gen: &mut SchemaGenerator) -> Schema
 
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
sourcefn is_referenceable() -> bool
 
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the $ref keyword. Read more
sourceimpl<A: PartialEq> PartialEq<ContractLink<A>> for ContractLink<A>
 
impl<A: PartialEq> PartialEq<ContractLink<A>> for ContractLink<A>
Auto Trait Implementations
impl<A> RefUnwindSafe for ContractLink<A> where
    A: RefUnwindSafe, 
impl<A> Send for ContractLink<A> where
    A: Send, 
impl<A> Sync for ContractLink<A> where
    A: Sync, 
impl<A> Unpin for ContractLink<A> where
    A: Unpin, 
impl<A> UnwindSafe for ContractLink<A> where
    A: UnwindSafe, 
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
    T: ?Sized, 
 
impl<T> BorrowMut<T> for T where
    T: ?Sized, 
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
    T: Clone, 
 
impl<T> ToOwned for T where
    T: Clone, 
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
 
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more