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<'a, D>(self, docs: D) -> Selfwhere
D: IntoIterator<Item = &'a str>,
F::String: From<&'a str>,
pub fn docs<'a, D>(self, docs: D) -> Selfwhere D: IntoIterator<Item = &'a str>, F::String: From<&'a str>,
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.
Auto Trait Implementations§
impl<F> RefUnwindSafe for EventParamSpecBuilder<F>where <F as Form>::String: RefUnwindSafe, <F as Form>::Type: RefUnwindSafe,
impl<F> Send for EventParamSpecBuilder<F>where <F as Form>::String: Send, <F as Form>::Type: Send,
impl<F> Sync for EventParamSpecBuilder<F>where <F as Form>::String: Sync, <F as Form>::Type: Sync,
impl<F> Unpin for EventParamSpecBuilder<F>where <F as Form>::String: Unpin, <F as Form>::Type: Unpin,
impl<F> UnwindSafe for EventParamSpecBuilder<F>where <F as Form>::String: UnwindSafe, <F as Form>::Type: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more