Struct ink_metadata::MessageParamSpec
source · pub struct MessageParamSpec<F: Form = MetaForm> { /* private fields */ }Expand description
Describes a pair of parameter label and type.
Implementations§
Trait Implementations§
source§impl<'de, F: Form> Deserialize<'de> for MessageParamSpec<F>where
F::Type: DeserializeOwned,
F::String: DeserializeOwned,
impl<'de, F: Form> Deserialize<'de> for MessageParamSpec<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 MessageParamSpec
impl IntoPortable for MessageParamSpec
§type Output = MessageParamSpec<PortableForm>
type Output = MessageParamSpec<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<MessageParamSpec<F>> for MessageParamSpec<F>where
F::String: PartialEq,
impl<F: PartialEq + Form> PartialEq<MessageParamSpec<F>> for MessageParamSpec<F>where F::String: PartialEq,
source§fn eq(&self, other: &MessageParamSpec<F>) -> bool
fn eq(&self, other: &MessageParamSpec<F>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.