Struct ink_metadata::ReturnTypeSpec
source · pub struct ReturnTypeSpec<F: Form = MetaForm> { /* private fields */ }
Expand description
Describes the contract message return type.
Implementations§
Trait Implementations§
source§impl<F: Debug + Form> Debug for ReturnTypeSpec<F>
impl<F: Debug + Form> Debug for ReturnTypeSpec<F>
source§impl<'de, F: Form> Deserialize<'de> for ReturnTypeSpec<F>where
F::Type: DeserializeOwned,
F::String: DeserializeOwned,
impl<'de, F: Form> Deserialize<'de> for ReturnTypeSpec<F>where
F::Type: DeserializeOwned,
F::String: DeserializeOwned,
source§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
source§impl IntoPortable for ReturnTypeSpec
impl IntoPortable for ReturnTypeSpec
§type Output = ReturnTypeSpec<PortableForm>
type Output = ReturnTypeSpec<PortableForm>
The portable version of
Self
.source§fn into_portable(self, registry: &mut Registry) -> Self::Output
fn into_portable(self, registry: &mut Registry) -> Self::Output
Convert
self
to the portable form by using the registry for caching.source§impl<F: PartialEq + Form> PartialEq<ReturnTypeSpec<F>> for ReturnTypeSpec<F>
impl<F: PartialEq + Form> PartialEq<ReturnTypeSpec<F>> for ReturnTypeSpec<F>
source§fn eq(&self, other: &ReturnTypeSpec<F>) -> bool
fn eq(&self, other: &ReturnTypeSpec<F>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.