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
)