[][src]Struct transact::protocol::receipt::Event

pub struct Event {
    pub event_type: String,
    pub attributes: Vec<(String, String)>,
    pub data: Vec<u8>,
}

An Event is metadata about a Transaction's processing. Events are transmitted by transact but are not verified or saved to state. Events are generated by any of the ways that Transactions are processed in transact.

Fields

event_type: String

A human readable string that identifies this event Determined by the client.

attributes: Vec<(String, String)>

Human readable information about the transaction.

data: Vec<u8>

Opaque data, about the transaction, that the client can deserialize

Trait Implementations

impl FromProto<Event> for Event[src]

impl FromNative<Event> for Event[src]

impl FromBytes<Event> for Event[src]

impl IntoBytes for Event[src]

impl IntoNative<Event> for Event[src]

impl IntoProto<Event> for Event[src]

impl Clone for Event[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl PartialEq<Event> for Event[src]

impl Debug for Event[src]

Auto Trait Implementations

impl Send for Event

impl Sync for Event

Blanket Implementations

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

impl<T> SafeBorrow<T> for T where
    T: ?Sized

impl<'a, T> DefaultFeatures<'a> for T where
    T: 'a + Send + Sync + Clone

impl<'a, T> NonSyncFeatures<'a> for T where
    T: 'a + Clone

impl<T> Same<T> for T

type Output = T

Should always be Self