[−][src]Struct solana_libra_types::contract_event::ContractEvent
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]
fn serialize(&self, serializer: &mut impl CanonicalSerializer) -> Result<()>
[src]
impl Clone for ContractEvent
[src]
fn clone(&self) -> ContractEvent
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl CryptoHash for ContractEvent
[src]
type Hasher = ContractEventHasher
The associated Hasher
type which comes with a unique salt for this type.
fn hash(&self) -> HashValue
[src]
impl Debug for ContractEvent
[src]
impl Default for ContractEvent
[src]
fn default() -> ContractEvent
[src]
impl Display for ContractEvent
[src]
impl Eq for ContractEvent
[src]
impl From<ContractEvent> for Event
[src]
fn from(event: ContractEvent) -> Self
[src]
impl PartialEq<ContractEvent> for ContractEvent
[src]
fn eq(&self, other: &ContractEvent) -> bool
[src]
fn ne(&self, other: &ContractEvent) -> bool
[src]
impl StructuralEq for ContractEvent
[src]
impl StructuralPartialEq for ContractEvent
[src]
impl TryFrom<Event> for ContractEvent
[src]
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
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Clear for T where
T: InitializableFromZeroed + ?Sized,
T: InitializableFromZeroed + ?Sized,
fn clear(&mut self)
impl<T> From<T> for T
[src]
impl<T> InitializableFromZeroed for T where
T: Default,
T: Default,
unsafe fn initialize(place: *mut T)
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> SendSyncUnwindSafe for T where
T: Send + Sync + UnwindSafe + ?Sized,
T: Send + Sync + UnwindSafe + ?Sized,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,