Struct ink_metadata::EventSpec
source · pub struct EventSpec<F: Form = MetaForm> { /* private fields */ }
Expand description
Describes an event definition.
Implementations§
Trait Implementations§
source§impl<'de, F: Form> Deserialize<'de> for EventSpec<F>where
F::Type: DeserializeOwned,
F::String: DeserializeOwned,
impl<'de, F: Form> Deserialize<'de> for EventSpec<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 EventSpec
impl IntoPortable for EventSpec
§type Output = EventSpec<PortableForm>
type Output = EventSpec<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.