Struct ink_metadata::EventSpec
source · [−]Expand description
Describes an event definition.
Implementations
Trait Implementations
sourceimpl<'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,
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 IntoPortable for EventSpec
impl IntoPortable for EventSpec
type Output = EventSpec<PortableForm>
type Output = EventSpec<PortableForm>
The portable version of
Self
.sourcefn 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.sourceimpl<F: PartialEq + Form> PartialEq<EventSpec<F>> for EventSpec<F>where
F::String: PartialEq,
F::String: PartialEq,
impl<F: PartialEq + Form> PartialEq<EventSpec<F>> for EventSpec<F>where
F::String: PartialEq,
F::String: PartialEq,
impl<F: Eq + Form> Eq for EventSpec<F>where
F::String: Eq,
F::String: Eq,
impl<F: Form> StructuralEq for EventSpec<F>
impl<F: Form> StructuralPartialEq for EventSpec<F>
Auto Trait Implementations
impl<F> RefUnwindSafe for EventSpec<F>where
<F as Form>::String: RefUnwindSafe,
<F as Form>::Type: RefUnwindSafe,
impl<F> Send for EventSpec<F>where
<F as Form>::String: Send,
<F as Form>::Type: Send,
impl<F> Sync for EventSpec<F>where
<F as Form>::String: Sync,
<F as Form>::Type: Sync,
impl<F> Unpin for EventSpec<F>where
<F as Form>::String: Unpin,
<F as Form>::Type: Unpin,
impl<F> UnwindSafe for EventSpec<F>where
<F as Form>::String: UnwindSafe,
<F as Form>::Type: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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