Struct eventify_primitives::log::IndexedLog
source · pub struct IndexedLog(/* private fields */);Implementations§
source§impl IndexedLog
impl IndexedLog
pub fn address(&self) -> Address
pub fn topics(&self) -> &Vec<H256>
pub fn data(&self) -> &Bytes
pub fn block_hash(&self) -> Option<H256>
pub fn block_number(&self) -> Option<U64>
pub fn transaction_hash(&self) -> Option<H256>
pub fn transaction_index(&self) -> Option<U64>
pub fn transaction_log_index(&self) -> Option<U256>
pub fn log_index(&self) -> Option<U256>
pub fn log_type(&self) -> Option<&String>
pub fn removed(&self) -> Option<bool>
Trait Implementations§
source§impl Clone for IndexedLog
impl Clone for IndexedLog
source§fn clone(&self) -> IndexedLog
fn clone(&self) -> IndexedLog
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for IndexedLog
impl Debug for IndexedLog
source§impl Default for IndexedLog
impl Default for IndexedLog
source§fn default() -> IndexedLog
fn default() -> IndexedLog
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for IndexedLog
impl<'de> Deserialize<'de> for IndexedLog
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
source§impl From<Log> for IndexedLog
impl From<Log> for IndexedLog
source§impl<'a, R: Row> FromRow<'a, R> for IndexedLog
impl<'a, R: Row> FromRow<'a, R> for IndexedLog
source§impl PartialEq for IndexedLog
impl PartialEq for IndexedLog
source§fn eq(&self, other: &IndexedLog) -> bool
fn eq(&self, other: &IndexedLog) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for IndexedLog
impl Serialize for IndexedLog
impl Insertable for IndexedLog
impl StructuralPartialEq for IndexedLog
Auto Trait Implementations§
impl RefUnwindSafe for IndexedLog
impl Send for IndexedLog
impl Sync for IndexedLog
impl Unpin for IndexedLog
impl UnwindSafe for IndexedLog
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