Struct ink_metadata::EventSpecBuilder
source · pub struct EventSpecBuilder<F>where
F: Form,{ /* private fields */ }
Expand description
An event specification builder.
Implementations§
source§impl<F> EventSpecBuilder<F>where
F: Form,
impl<F> EventSpecBuilder<F>where
F: Form,
sourcepub fn args<A>(self, args: A) -> Selfwhere
A: IntoIterator<Item = EventParamSpec<F>>,
pub fn args<A>(self, args: A) -> Selfwhere
A: IntoIterator<Item = EventParamSpec<F>>,
Sets the input arguments of the event specification.
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 input arguments of the event specification.