pub enum ITangleEvents {
Show 25 variants
BlueprintCreated(BlueprintCreated),
BlueprintDeactivated(BlueprintDeactivated),
BlueprintResourceRequirementsSet(BlueprintResourceRequirementsSet),
BlueprintTransferred(BlueprintTransferred),
BlueprintUpdated(BlueprintUpdated),
JobCompleted(JobCompleted),
JobResultSubmitted(JobResultSubmitted),
JobSubmitted(JobSubmitted),
JobSubmittedFromQuote(JobSubmittedFromQuote),
OperatorJoinedService(OperatorJoinedService),
OperatorLeftService(OperatorLeftService),
OperatorPreferencesUpdated(OperatorPreferencesUpdated),
OperatorRegistered(OperatorRegistered),
OperatorRewardAccrued(OperatorRewardAccrued),
OperatorUnregistered(OperatorUnregistered),
PaymentDistributed(PaymentDistributed),
RewardsClaimed(RewardsClaimed),
ServiceActivated(ServiceActivated),
ServiceApproved(ServiceApproved),
ServiceRejected(ServiceRejected),
ServiceRequested(ServiceRequested),
ServiceRequestedWithSecurity(ServiceRequestedWithSecurity),
ServiceTerminated(ServiceTerminated),
ServiceTerminatedForNonPayment(ServiceTerminatedForNonPayment),
SubscriptionBilled(SubscriptionBilled),
}Expand description
Container for all the ITangle events.
Variants§
BlueprintCreated(BlueprintCreated)
BlueprintDeactivated(BlueprintDeactivated)
BlueprintResourceRequirementsSet(BlueprintResourceRequirementsSet)
BlueprintTransferred(BlueprintTransferred)
BlueprintUpdated(BlueprintUpdated)
JobCompleted(JobCompleted)
JobResultSubmitted(JobResultSubmitted)
JobSubmitted(JobSubmitted)
JobSubmittedFromQuote(JobSubmittedFromQuote)
OperatorJoinedService(OperatorJoinedService)
OperatorLeftService(OperatorLeftService)
OperatorPreferencesUpdated(OperatorPreferencesUpdated)
OperatorRegistered(OperatorRegistered)
OperatorRewardAccrued(OperatorRewardAccrued)
OperatorUnregistered(OperatorUnregistered)
PaymentDistributed(PaymentDistributed)
RewardsClaimed(RewardsClaimed)
ServiceActivated(ServiceActivated)
ServiceApproved(ServiceApproved)
ServiceRejected(ServiceRejected)
ServiceRequested(ServiceRequested)
ServiceRequestedWithSecurity(ServiceRequestedWithSecurity)
ServiceTerminated(ServiceTerminated)
ServiceTerminatedForNonPayment(ServiceTerminatedForNonPayment)
SubscriptionBilled(SubscriptionBilled)
Implementations§
Source§impl ITangleEvents
impl ITangleEvents
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.
Trait Implementations§
Source§impl Clone for ITangleEvents
impl Clone for ITangleEvents
Source§fn clone(&self) -> ITangleEvents
fn clone(&self) -> ITangleEvents
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 ITangleEvents
impl Debug for ITangleEvents
Source§impl<'de> Deserialize<'de> for ITangleEvents
impl<'de> Deserialize<'de> for ITangleEvents
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ITangleEvents, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ITangleEvents, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ITangleEvents
Source§impl Hash for ITangleEvents
impl Hash for ITangleEvents
Source§impl IntoLogData for ITangleEvents
impl IntoLogData for ITangleEvents
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 ITangleEvents
impl PartialEq for ITangleEvents
Source§fn eq(&self, other: &ITangleEvents) -> bool
fn eq(&self, other: &ITangleEvents) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ITangleEvents
impl Serialize for ITangleEvents
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Source§impl SolEventInterface for ITangleEvents
impl SolEventInterface for ITangleEvents
Source§fn decode_raw_log(
topics: &[FixedBytes<32>],
data: &[u8],
) -> Result<ITangleEvents, Error>
fn decode_raw_log( topics: &[FixedBytes<32>], data: &[u8], ) -> Result<ITangleEvents, Error>
Decode the events from the given log info.
impl StructuralPartialEq for ITangleEvents
Auto Trait Implementations§
impl !Freeze for ITangleEvents
impl RefUnwindSafe for ITangleEvents
impl Send for ITangleEvents
impl Sync for ITangleEvents
impl Unpin for ITangleEvents
impl UnsafeUnpin for ITangleEvents
impl UnwindSafe for ITangleEvents
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<'de, T> BorrowedRpcObject<'de> for T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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