Struct ink_metadata::EventParamSpecBuilder
source · pub struct EventParamSpecBuilder<F>where
F: Form,{ /* private fields */ }
Expand description
Used to construct an event parameter specification.
Implementations§
source§impl<F> EventParamSpecBuilder<F>where
F: Form,
impl<F> EventParamSpecBuilder<F>where
F: Form,
sourcepub fn docs<D>(self, docs: D) -> Selfwhere
D: IntoIterator<Item = <F as Form>::String>,
pub fn docs<D>(self, docs: D) -> Selfwhere
D: IntoIterator<Item = <F as Form>::String>,
Sets the documentation of the event parameter.
sourcepub fn done(self) -> EventParamSpec<F>
pub fn done(self) -> EventParamSpec<F>
Finishes constructing the event parameter spec.