Struct ink_metadata::EventSpecBuilder
source · pub struct EventSpecBuilder<F>where
F: Form,{ /* private fields */ }
Expand description
An event specification builder.
Implementations
sourceimpl<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.
Auto Trait Implementations
impl<F> RefUnwindSafe for EventSpecBuilder<F>where
<F as Form>::String: RefUnwindSafe,
<F as Form>::Type: RefUnwindSafe,
impl<F> Send for EventSpecBuilder<F>where
<F as Form>::String: Send,
<F as Form>::Type: Send,
impl<F> Sync for EventSpecBuilder<F>where
<F as Form>::String: Sync,
<F as Form>::Type: Sync,
impl<F> Unpin for EventSpecBuilder<F>where
<F as Form>::String: Unpin,
<F as Form>::Type: Unpin,
impl<F> UnwindSafe for EventSpecBuilder<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