Enum diem_types::contract_event::ContractEvent
source · pub enum ContractEvent {
V0(ContractEventV0),
}
Expand description
Support versioning of the data structure.
Variants§
V0(ContractEventV0)
Implementations§
source§impl ContractEvent
impl ContractEvent
source§impl ContractEvent
impl ContractEvent
pub fn strategy_impl( event_key_strategy: impl Strategy<Value = EventKey> ) -> impl Strategy<Value = Self>
Methods from Deref<Target = ContractEventV0>§
Trait Implementations§
source§impl Arbitrary for ContractEvent
impl Arbitrary for ContractEvent
§type Parameters = ()
type Parameters = ()
The type of parameters that
arbitrary_with
accepts for configuration
of the generated Strategy
. Parameters must implement Default
.source§fn arbitrary_with(_args: Self::Parameters) -> Self::Strategy
fn arbitrary_with(_args: Self::Parameters) -> Self::Strategy
§type Strategy = BoxedStrategy<ContractEvent>
type Strategy = BoxedStrategy<ContractEvent>
The type of
Strategy
used to generate values of type Self
.source§impl Clone for ContractEvent
impl Clone for ContractEvent
source§fn clone(&self) -> ContractEvent
fn clone(&self) -> ContractEvent
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl CryptoHash for ContractEvent
impl CryptoHash for ContractEvent
source§impl Debug for ContractEvent
impl Debug for ContractEvent
source§impl Deref for ContractEvent
impl Deref for ContractEvent
source§impl<'de> Deserialize<'de> for ContractEvent
impl<'de> Deserialize<'de> for ContractEvent
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for ContractEvent
impl Display for ContractEvent
source§impl Hash for ContractEvent
impl Hash for ContractEvent
source§impl PartialEq<ContractEvent> for ContractEvent
impl PartialEq<ContractEvent> for ContractEvent
source§fn eq(&self, other: &ContractEvent) -> bool
fn eq(&self, other: &ContractEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ContractEvent
impl Serialize for ContractEvent
source§impl TryFrom<&ContractEvent> for AdminTransactionEvent
impl TryFrom<&ContractEvent> for AdminTransactionEvent
source§impl TryFrom<&ContractEvent> for BaseUrlRotationEvent
impl TryFrom<&ContractEvent> for BaseUrlRotationEvent
source§impl TryFrom<&ContractEvent> for BurnEvent
impl TryFrom<&ContractEvent> for BurnEvent
source§impl TryFrom<&ContractEvent> for CancelBurnEvent
impl TryFrom<&ContractEvent> for CancelBurnEvent
source§impl TryFrom<&ContractEvent> for CreateAccountEvent
impl TryFrom<&ContractEvent> for CreateAccountEvent
source§impl TryFrom<&ContractEvent> for MintEvent
impl TryFrom<&ContractEvent> for MintEvent
source§impl TryFrom<&ContractEvent> for NewBlockEvent
impl TryFrom<&ContractEvent> for NewBlockEvent
source§impl TryFrom<&ContractEvent> for NewEpochEvent
impl TryFrom<&ContractEvent> for NewEpochEvent
source§impl TryFrom<&ContractEvent> for PreburnEvent
impl TryFrom<&ContractEvent> for PreburnEvent
source§impl TryFrom<&ContractEvent> for ReceivedMintEvent
impl TryFrom<&ContractEvent> for ReceivedMintEvent
source§impl TryFrom<&ContractEvent> for ReceivedPaymentEvent
impl TryFrom<&ContractEvent> for ReceivedPaymentEvent
source§impl TryFrom<&ContractEvent> for SentPaymentEvent
impl TryFrom<&ContractEvent> for SentPaymentEvent
source§impl TryFrom<&ContractEvent> for VASPDomainEvent
impl TryFrom<&ContractEvent> for VASPDomainEvent
impl Eq for ContractEvent
impl StructuralEq for ContractEvent
impl StructuralPartialEq for ContractEvent
Auto Trait Implementations§
impl RefUnwindSafe for ContractEvent
impl Send for ContractEvent
impl Sync for ContractEvent
impl Unpin for ContractEvent
impl UnwindSafe for ContractEvent
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
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<T> TestOnlyHash for Twhere
T: Serialize + ?Sized,
impl<T> TestOnlyHash for Twhere T: Serialize + ?Sized,
source§fn test_only_hash(&self) -> HashValue
fn test_only_hash(&self) -> HashValue
Generates a hash used only for tests.