Struct eventify_primitives::contract::Contract
source · pub struct Contract {
pub transaction_hash: H256,
pub _from: H160,
pub input: Bytes,
}Fields§
§transaction_hash: H256§_from: H160§input: BytesImplementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Contract
impl<'de> Deserialize<'de> for Contract
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<IndexedTransaction> for Contract
impl From<IndexedTransaction> for Contract
source§fn from(transaction: IndexedTransaction) -> Self
fn from(transaction: IndexedTransaction) -> Self
Converts to this type from the input type.
source§impl From<Transaction> for Contract
impl From<Transaction> for Contract
source§fn from(tx: Transaction) -> Self
fn from(tx: Transaction) -> Self
Converts to this type from the input type.
source§impl PartialEq for Contract
impl PartialEq for Contract
impl Insertable for Contract
impl StructuralPartialEq for Contract
Auto Trait Implementations§
impl RefUnwindSafe for Contract
impl Send for Contract
impl Sync for Contract
impl Unpin for Contract
impl UnwindSafe for Contract
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