Enum pallet_ovm::RawEvent [−][src]
pub enum RawEvent<AccountId, Property, Hash, BlockNumber> { PutPredicate(Hash), InstantiatePredicate(AccountId), PropertyClaimed(Hash, Property, BlockNumber), PropertyChallenged(Hash, Hash), PropertyDecided(Hash, bool), ChallengeRemoved(Hash, Hash), }
Expand description
Events for this module.
Variants
(predicate_address: AccountId);
(predicate_address: AccountId);
(game_id: Hash, property: Property, created_block: BlockNumber)
(gameId: Hash, challenge_game_id: Hash)
PropertyDecided(Hash, bool)
(game_id: Hash, decision: bool)
(game_id: Hash, challengeGameId: Hash)
Trait Implementations
impl<AccountId, Property, Hash, BlockNumber> Decode for RawEvent<AccountId, Property, Hash, BlockNumber> where
Hash: Decode,
Hash: Decode,
AccountId: Decode,
AccountId: Decode,
Hash: Decode,
Hash: Decode,
Property: Decode,
Property: Decode,
BlockNumber: Decode,
BlockNumber: Decode,
Hash: Decode,
Hash: Decode,
Hash: Decode,
Hash: Decode,
Hash: Decode,
Hash: Decode,
Hash: Decode,
Hash: Decode,
Hash: Decode,
Hash: Decode,
impl<AccountId, Property, Hash, BlockNumber> Decode for RawEvent<AccountId, Property, Hash, BlockNumber> where
Hash: Decode,
Hash: Decode,
AccountId: Decode,
AccountId: Decode,
Hash: Decode,
Hash: Decode,
Property: Decode,
Property: Decode,
BlockNumber: Decode,
BlockNumber: Decode,
Hash: Decode,
Hash: Decode,
Hash: Decode,
Hash: Decode,
Hash: Decode,
Hash: Decode,
Hash: Decode,
Hash: Decode,
Hash: Decode,
Hash: Decode,
impl<AccountId, Property, Hash, BlockNumber> Encode for RawEvent<AccountId, Property, Hash, BlockNumber> where
Hash: Encode,
Hash: Encode,
AccountId: Encode,
AccountId: Encode,
Hash: Encode,
Hash: Encode,
Property: Encode,
Property: Encode,
BlockNumber: Encode,
BlockNumber: Encode,
Hash: Encode,
Hash: Encode,
Hash: Encode,
Hash: Encode,
Hash: Encode,
Hash: Encode,
Hash: Encode,
Hash: Encode,
Hash: Encode,
Hash: Encode,
impl<AccountId, Property, Hash, BlockNumber> Encode for RawEvent<AccountId, Property, Hash, BlockNumber> where
Hash: Encode,
Hash: Encode,
AccountId: Encode,
AccountId: Encode,
Hash: Encode,
Hash: Encode,
Property: Encode,
Property: Encode,
BlockNumber: Encode,
BlockNumber: Encode,
Hash: Encode,
Hash: Encode,
Hash: Encode,
Hash: Encode,
Hash: Encode,
Hash: Encode,
Hash: Encode,
Hash: Encode,
Hash: Encode,
Hash: Encode,
impl<AccountId, Property, Hash, BlockNumber> EncodeLike<RawEvent<AccountId, Property, Hash, BlockNumber>> for RawEvent<AccountId, Property, Hash, BlockNumber> where
Hash: Encode,
Hash: Encode,
AccountId: Encode,
AccountId: Encode,
Hash: Encode,
Hash: Encode,
Property: Encode,
Property: Encode,
BlockNumber: Encode,
BlockNumber: Encode,
Hash: Encode,
Hash: Encode,
Hash: Encode,
Hash: Encode,
Hash: Encode,
Hash: Encode,
Hash: Encode,
Hash: Encode,
Hash: Encode,
Hash: Encode,
impl<AccountId: Eq, Property: Eq, Hash: Eq, BlockNumber: Eq> Eq for RawEvent<AccountId, Property, Hash, BlockNumber>
impl<AccountId, Property, Hash, BlockNumber> StructuralEq for RawEvent<AccountId, Property, Hash, BlockNumber>
impl<AccountId, Property, Hash, BlockNumber> StructuralPartialEq for RawEvent<AccountId, Property, Hash, BlockNumber>
Auto Trait Implementations
impl<AccountId, Property, Hash, BlockNumber> RefUnwindSafe for RawEvent<AccountId, Property, Hash, BlockNumber> where
AccountId: RefUnwindSafe,
BlockNumber: RefUnwindSafe,
Hash: RefUnwindSafe,
Property: RefUnwindSafe,
impl<AccountId, Property, Hash, BlockNumber> Send for RawEvent<AccountId, Property, Hash, BlockNumber> where
AccountId: Send,
BlockNumber: Send,
Hash: Send,
Property: Send,
impl<AccountId, Property, Hash, BlockNumber> Sync for RawEvent<AccountId, Property, Hash, BlockNumber> where
AccountId: Sync,
BlockNumber: Sync,
Hash: Sync,
Property: Sync,
impl<AccountId, Property, Hash, BlockNumber> Unpin for RawEvent<AccountId, Property, Hash, BlockNumber> where
AccountId: Unpin,
BlockNumber: Unpin,
Hash: Unpin,
Property: Unpin,
impl<AccountId, Property, Hash, BlockNumber> UnwindSafe for RawEvent<AccountId, Property, Hash, BlockNumber> where
AccountId: UnwindSafe,
BlockNumber: UnwindSafe,
Hash: UnwindSafe,
Property: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
The counterpart to unchecked_from
.
Consume self to return an equivalent value of T
.
pub fn vzip(self) -> V
impl<T> MaybeDebug for T where
T: Debug,
impl<T> MaybeDebug for T where
T: Debug,
impl<T> MaybeRefUnwindSafe for T where
T: RefUnwindSafe,