Struct ink_metadata::EventParamSpecBuilder
source · [−]pub struct EventParamSpecBuilder { /* private fields */ }
Expand description
Used to construct an event parameter specification.
Implementations
sourceimpl EventParamSpecBuilder
impl EventParamSpecBuilder
sourcepub fn docs<D>(self, docs: D) -> Selfwhere
D: IntoIterator<Item = &'static str>,
pub fn docs<D>(self, docs: D) -> Selfwhere
D: IntoIterator<Item = &'static str>,
Sets the documentation of the event parameter.
sourcepub fn done(self) -> EventParamSpec
pub fn done(self) -> EventParamSpec
Finishes constructing the event parameter spec.
Auto Trait Implementations
impl RefUnwindSafe for EventParamSpecBuilder
impl Send for EventParamSpecBuilder
impl Sync for EventParamSpecBuilder
impl Unpin for EventParamSpecBuilder
impl UnwindSafe for EventParamSpecBuilder
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