Struct ink_metadata::EventSpecBuilder
source · [−]pub struct EventSpecBuilder { /* private fields */ }
Expand description
An event specification builder.
Implementations
sourceimpl EventSpecBuilder
impl EventSpecBuilder
sourcepub fn args<A>(self, args: A) -> Selfwhere
A: IntoIterator<Item = EventParamSpec>,
pub fn args<A>(self, args: A) -> Selfwhere
A: IntoIterator<Item = EventParamSpec>,
Sets the input arguments of the event specification.
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 input arguments of the event specification.
Auto Trait Implementations
impl RefUnwindSafe for EventSpecBuilder
impl Send for EventSpecBuilder
impl Sync for EventSpecBuilder
impl Unpin for EventSpecBuilder
impl UnwindSafe for EventSpecBuilder
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