[][src]Struct solana_libra_types::contract_event::ContractEvent

pub struct ContractEvent { /* fields omitted */ }

Entry produced via a call to the emit_event builtin.

Methods

impl ContractEvent[src]

pub fn new(key: EventKey, sequence_number: u64, event_data: Vec<u8>) -> Self[src]

pub fn key(&self) -> &EventKey[src]

pub fn sequence_number(&self) -> u64[src]

pub fn event_data(&self) -> &[u8][src]

Trait Implementations

impl CanonicalSerialize for ContractEvent[src]

impl Clone for ContractEvent[src]

impl CryptoHash for ContractEvent[src]

type Hasher = ContractEventHasher

The associated Hasher type which comes with a unique salt for this type.

impl Debug for ContractEvent[src]

impl Default for ContractEvent[src]

impl Display for ContractEvent[src]

impl Eq for ContractEvent[src]

impl From<ContractEvent> for Event[src]

impl PartialEq<ContractEvent> for ContractEvent[src]

impl StructuralEq for ContractEvent[src]

impl StructuralPartialEq for ContractEvent[src]

impl TryFrom<Event> for ContractEvent[src]

type Error = Error

The type returned in the event of a conversion error.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Clear for T where
    T: InitializableFromZeroed + ?Sized

impl<T> From<T> for T[src]

impl<T> InitializableFromZeroed for T where
    T: Default

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,