[−][src]Struct transact::protocol::receipt::Event
An Event
is metadata about a Transaction
's processing. Events are
transmitted by transact
but are not verified or saved to state. Event
s are
generated by any of the ways that Transaction
s 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]
fn from_proto(event: Event) -> Result<Self, ProtoConversionError>
[src]
impl FromNative<Event> for Event
[src]
fn from_native(event: Event) -> Result<Self, ProtoConversionError>
[src]
impl FromBytes<Event> for Event
[src]
fn from_bytes(bytes: &[u8]) -> Result<Event, ProtoConversionError>
[src]
impl IntoBytes for Event
[src]
fn into_bytes(self) -> Result<Vec<u8>, ProtoConversionError>
[src]
impl IntoNative<Event> for Event
[src]
fn into_native(self) -> Result<T, ProtoConversionError>
[src]
impl IntoProto<Event> for Event
[src]
fn into_proto(self) -> Result<T, ProtoConversionError>
[src]
impl Clone for Event
[src]
fn clone(&self) -> 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
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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, 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<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> SafeBorrow<T> for T where
T: ?Sized,
T: ?Sized,
fn borrow_replacement(ptr: &T) -> &T
impl<'a, T> DefaultFeatures<'a> for T where
T: 'a + Send + Sync + Clone,
T: 'a + Send + Sync + Clone,
fn clone_boxed(&self) -> Box<dyn DefaultFeatures<'a> + 'a>
fn self_address_mut(&mut self) -> *mut ()
impl<'a, T> NonSyncFeatures<'a> for T where
T: 'a + Clone,
T: 'a + Clone,
fn clone_boxed(&self) -> Box<dyn NonSyncFeatures<'a> + 'a>
fn self_address_mut(&mut self) -> *mut ()
impl<T> Same<T> for T
type Output = T
Should always be Self