pub struct Event<'a> {
pub signature: &'a str,
pub inputs: &'a [Param],
pub anonymous: bool,
}Expand description
Contract event.
Fields§
§signature: &'a strEvent signature. Like “Foo(int32,bytes)”.
inputs: &'a [Param]Event input.
anonymous: boolIf anonymous, event cannot be found using from filter.
Implementations§
Trait Implementations§
impl<'a> StructuralPartialEq for Event<'a>
Auto Trait Implementations§
impl<'a> Freeze for Event<'a>
impl<'a> RefUnwindSafe for Event<'a>
impl<'a> Send for Event<'a>
impl<'a> Sync for Event<'a>
impl<'a> Unpin for Event<'a>
impl<'a> UnwindSafe for Event<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more