Enum substrate_api_client::node_metadata::EventArg [−][src]
Expand description
Naive representation of event argument types, supports current set of substrate EventArg types.
If and when Substrate uses type-metadata, this can be replaced.
Used to calculate the size of a instance of an event variant without having the concrete type,
so the raw bytes can be extracted from the encoded Vec<EventRecord<E>> (without E defined).
Variants
Primitive(String)Implementations
Returns all primitive types for this EventArg
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for EventArgimpl UnwindSafe for EventArgBlanket Implementations
Mutably borrows from an owned value. Read more
impl<T> CallHasher for T where
T: Hash,
impl<T> CallHasher for T where
T: Hash, Compare self to key and return true if they are equal.
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
type Output = T
type Output = TShould always be Self
fn saturated_from<T>(t: T) -> Self where
Self: UniqueSaturatedFrom<T>,
fn saturated_from<T>(t: T) -> Self where
Self: UniqueSaturatedFrom<T>, Convert from a value of T into an equivalent instance of Self. Read more
fn saturated_into<T>(self) -> T where
Self: UniqueSaturatedInto<T>,
fn saturated_into<T>(self) -> T where
Self: UniqueSaturatedInto<T>, Consume self to return an equivalent value of T. Read more
The counterpart to unchecked_from.
pub fn unique_saturated_into(self) -> T
pub fn unique_saturated_into(self) -> TConsume self to return an equivalent value of T.
pub fn vzip(self) -> Vimpl<T> MaybeDebug for T where
T: Debug, impl<T> MaybeDebug for T where
T: Debug, impl<T> MaybeHash for T where
T: Hash, impl<T> MaybeRefUnwindSafe for T where
T: RefUnwindSafe,