[−][src]Struct ink_metadata::EventParamSpecBuilder
Used to construct an event parameter specification.
Implementations
impl EventParamSpecBuilder
[src]
pub fn of_type(self, spec: TypeSpec) -> Self
[src]
Sets the type of the event parameter.
pub fn indexed(self, is_indexed: bool) -> Self
[src]
If the event parameter is indexed.
pub fn docs<D>(self, docs: D) -> Self where
D: IntoIterator<Item = &'static str>,
[src]
D: IntoIterator<Item = &'static str>,
Sets the documentation of the event parameter.
pub fn done(self) -> EventParamSpec
[src]
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
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>,