Struct ink_metadata::ContractSpec
source · [−]Expand description
Describes a contract.
Implementations
Returns the set of constructors of the contract.
Returns the external messages of the contract.
Creates a new contract specification.
Trait Implementations
impl<'de, F: Form> Deserialize<'de> for ContractSpec<F> where
F::Type: DeserializeOwned,
F::String: DeserializeOwned,
impl<'de, F: Form> Deserialize<'de> for ContractSpec<F> where
F::Type: DeserializeOwned,
F::String: DeserializeOwned,
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
type Output = ContractSpec<PortableForm>
type Output = ContractSpec<PortableForm>
The portable version of Self
.
Convert self
to the portable form by using the registry for caching.
impl<F: PartialEq + Form> PartialEq<ContractSpec<F>> for ContractSpec<F> where
F::String: PartialEq,
impl<F: PartialEq + Form> PartialEq<ContractSpec<F>> for ContractSpec<F> where
F::String: PartialEq,
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.