[−][src]Struct ink_metadata::EventSpecBuilder
An event specification builder.
Implementations
impl EventSpecBuilder
[src]
pub fn args<A>(self, args: A) -> Self where
A: IntoIterator<Item = EventParamSpec>,
[src]
A: IntoIterator<Item = EventParamSpec>,
Sets the input arguments of the event specification.
pub fn docs<D>(self, docs: D) -> Self where
D: IntoIterator<Item = &'static str>,
[src]
D: IntoIterator<Item = &'static str>,
Sets the input arguments of the event specification.
pub fn done(self) -> EventSpec
[src]
Finalizes building 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
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,