pub struct Event {
pub sequence_number: String,
pub event_type: String,
pub data: Value,
pub transaction_version: Option<String>,
pub account_address: Option<String>,
pub creation_number: Option<String>,
}Available on crate feature
indexer only.Expand description
Event from the indexer.
Fields§
§sequence_number: StringEvent sequence number.
event_type: StringEvent type.
data: ValueEvent data.
transaction_version: Option<String>Transaction version that emitted this event.
account_address: Option<String>Account address associated with the event.
creation_number: Option<String>Creation number.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Event
impl<'de> Deserialize<'de> for Event
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Event
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnwindSafe for Event
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more