pub struct EventTransaction {
pub to: Option<Address>,
pub function_selector: Option<FunctionSelector>,
pub calldata: Option<Bytes>,
}
Expand description
Transaction from the event
Fields§
§to: Option<Address>
Transaction recipient address.
function_selector: Option<FunctionSelector>
4-byte-function selector
calldata: Option<Bytes>
Calldata of the transaction
Trait Implementations§
source§impl Clone for EventTransaction
impl Clone for EventTransaction
source§fn clone(&self) -> EventTransaction
fn clone(&self) -> EventTransaction
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 EventTransaction
impl Debug for EventTransaction
source§impl<'de> Deserialize<'de> for EventTransaction
impl<'de> Deserialize<'de> for EventTransaction
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 Hash for EventTransaction
impl Hash for EventTransaction
source§impl PartialEq for EventTransaction
impl PartialEq for EventTransaction
source§impl Serialize for EventTransaction
impl Serialize for EventTransaction
impl Eq for EventTransaction
impl StructuralPartialEq for EventTransaction
Auto Trait Implementations§
impl !Freeze for EventTransaction
impl RefUnwindSafe for EventTransaction
impl Send for EventTransaction
impl Sync for EventTransaction
impl Unpin for EventTransaction
impl UnwindSafe for EventTransaction
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)