pub enum IERC20Events {
Transfer(Transfer),
Approval(Approval),
}Expand description
Container for all the IERC20 events.
Variants§
Implementations§
Source§impl IERC20Events
impl IERC20Events
Sourcepub const SELECTORS: &'static [[u8; 32]]
pub const SELECTORS: &'static [[u8; 32]]
All the selectors of this enum.
Note that the selectors might not be in the same order as the variants. No guarantees are made about the order of the selectors.
Prefer using SolInterface methods instead.
Sourcepub const VARIANT_NAMES: &'static [&'static str]
pub const VARIANT_NAMES: &'static [&'static str]
The names of the variants in the same order as SELECTORS.
Sourcepub const SIGNATURES: &'static [&'static str]
pub const SIGNATURES: &'static [&'static str]
The signatures in the same order as SELECTORS.
Source§impl IERC20Events
impl IERC20Events
Trait Implementations§
Source§impl Clone for IERC20Events
impl Clone for IERC20Events
Source§fn clone(&self) -> IERC20Events
fn clone(&self) -> IERC20Events
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IERC20Events
impl Debug for IERC20Events
impl Eq for IERC20Events
Source§impl IntoLogData for IERC20Events
impl IntoLogData for IERC20Events
Source§fn to_log_data(&self) -> LogData
fn to_log_data(&self) -> LogData
Convert into a
LogData object.Source§fn into_log_data(self) -> LogData
fn into_log_data(self) -> LogData
Consume and convert into a
LogData object.Source§impl PartialEq for IERC20Events
impl PartialEq for IERC20Events
Source§fn eq(&self, other: &IERC20Events) -> bool
fn eq(&self, other: &IERC20Events) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl SolEventInterface for IERC20Events
impl SolEventInterface for IERC20Events
impl StructuralPartialEq for IERC20Events
Auto Trait Implementations§
impl Freeze for IERC20Events
impl RefUnwindSafe for IERC20Events
impl Send for IERC20Events
impl Sync for IERC20Events
impl Unpin for IERC20Events
impl UnsafeUnpin for IERC20Events
impl UnwindSafe for IERC20Events
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