Struct frame_system::EventRecord
source · [−]pub struct EventRecord<E: Parameter + Member, T> {
pub phase: Phase,
pub event: E,
pub topics: Vec<T>,
}Expand description
Record of an event happening.
Fields
phase: PhaseThe phase of the block it happened in.
event: EThe event itself.
topics: Vec<T>The list of the topics this event has.
Trait Implementations
impl<E: PartialEq + Parameter + Member, T: PartialEq> PartialEq<EventRecord<E, T>> for EventRecord<E, T>
impl<E: PartialEq + Parameter + Member, T: PartialEq> PartialEq<EventRecord<E, T>> for EventRecord<E, T>
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
impl<E: Parameter + Member, T> EncodeLike<EventRecord<E, T>> for EventRecord<E, T> where
E: Encode,
E: Encode,
Vec<T>: Encode,
Vec<T>: Encode,
Auto Trait Implementations
impl<E, T> RefUnwindSafe for EventRecord<E, T> where
E: RefUnwindSafe,
T: RefUnwindSafe,
impl<E, T> Send for EventRecord<E, T> where
T: Send,
impl<E, T> Sync for EventRecord<E, T> where
T: Sync,
impl<E, T> Unpin for EventRecord<E, T> where
E: Unpin,
T: Unpin,
impl<E, T> UnwindSafe for EventRecord<E, T> where
E: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>ⓘimpl<W> Write for Box<W, Global> where
W: Write + ?Sized, impl<R> Read for Box<R, Global> where
R: Read + ?Sized, impl<I, A> Iterator for Box<I, A> where
I: Iterator + ?Sized,
A: Allocator, type Item = <I as Iterator>::Item;impl<F, A> Future for Box<F, A> where
F: Future + Unpin + ?Sized,
A: Allocator + 'static, type Output = <F as Future>::Output;
pub fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>ⓘimpl<W> Write for Box<W, Global> where
W: Write + ?Sized, impl<R> Read for Box<R, Global> where
R: Read + ?Sized, impl<I, A> Iterator for Box<I, A> where
I: Iterator + ?Sized,
A: Allocator, type Item = <I as Iterator>::Item;impl<F, A> Future for Box<F, A> where
F: Future + Unpin + ?Sized,
A: Allocator + 'static, type Output = <F as Future>::Output;
impl<W> Write for Box<W, Global> where
W: Write + ?Sized, impl<R> Read for Box<R, Global> where
R: Read + ?Sized, impl<I, A> Iterator for Box<I, A> where
I: Iterator + ?Sized,
A: Allocator, type Item = <I as Iterator>::Item;impl<F, A> Future for Box<F, A> where
F: Future + Unpin + ?Sized,
A: Allocator + 'static, type Output = <F as Future>::Output;Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait. Read more
Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait. Read more
Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s. Read more
Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s. Read more
pub fn blake2_128_concat(&self) -> Vec<u8, Global>ⓘ
pub fn twox_64_concat(&self) -> Vec<u8, Global>ⓘ
The counterpart to unchecked_from.
Consume self to return an equivalent value of T.
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more