pub enum OriginAssignmentEvents {
OriginAdded(OriginAdded),
OriginRemoved(OriginRemoved),
InactiveOriginPruned(InactiveOriginPruned),
}Expand description
Container for all the OriginAssignment events.
Variants§
Implementations§
Source§impl OriginAssignmentEvents
impl OriginAssignmentEvents
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 OriginAssignmentEvents
impl OriginAssignmentEvents
Sourcepub fn origin_added(namespace_id: U256, operator: Address, by: Address) -> Self
pub fn origin_added(namespace_id: U256, operator: Address, by: Address) -> Self
Creates a OriginAdded event.
event OriginAdded(uint256,address,address)Sourcepub fn origin_removed(
namespace_id: U256,
operator: Address,
by: Address,
) -> Self
pub fn origin_removed( namespace_id: U256, operator: Address, by: Address, ) -> Self
Creates a OriginRemoved event.
event OriginRemoved(uint256,address,address)Sourcepub fn inactive_origin_pruned(
namespace_id: U256,
operator: Address,
pruner: Address,
) -> Self
pub fn inactive_origin_pruned( namespace_id: U256, operator: Address, pruner: Address, ) -> Self
Creates a InactiveOriginPruned event.
event InactiveOriginPruned(uint256,address,address)Trait Implementations§
Source§impl Clone for OriginAssignmentEvents
impl Clone for OriginAssignmentEvents
Source§impl IntoLogData for OriginAssignmentEvents
impl IntoLogData for OriginAssignmentEvents
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 SolEventInterface for OriginAssignmentEvents
impl SolEventInterface for OriginAssignmentEvents
Source§fn decode_raw_log(topics: &[Word], data: &[u8]) -> Result<Self>
fn decode_raw_log(topics: &[Word], data: &[u8]) -> Result<Self>
Decode the events from the given log info.
Source§fn decode_raw_log_with_config(
topics: &[Word],
data: &[u8],
config: AbiDecoderConfig,
) -> Result<Self>
fn decode_raw_log_with_config( topics: &[Word], data: &[u8], config: AbiDecoderConfig, ) -> Result<Self>
Decode the events from the given log info with a custom decoder configuration. Read more
Source§fn decode_log(log: &Log) -> Result<Log<Self>, Error>
fn decode_log(log: &Log) -> Result<Log<Self>, Error>
Decode the events from the given log object.
Source§fn decode_log_with_config(
log: &Log,
config: AbiDecoderConfig,
) -> Result<Log<Self>, Error>
fn decode_log_with_config( log: &Log, config: AbiDecoderConfig, ) -> Result<Log<Self>, Error>
Decode the events from the given log object with a custom decoder configuration.
Auto Trait Implementations§
impl Freeze for OriginAssignmentEvents
impl RefUnwindSafe for OriginAssignmentEvents
impl Send for OriginAssignmentEvents
impl Sync for OriginAssignmentEvents
impl Unpin for OriginAssignmentEvents
impl UnsafeUnpin for OriginAssignmentEvents
impl UnwindSafe for OriginAssignmentEvents
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more