pub struct UserOperationReceipt {
pub user_op_hash: Bytes,
pub entry_point: Address,
pub sender: Address,
pub nonce: U256,
pub paymaster: Address,
pub actual_gas_cost: U256,
pub actual_gas_used: U256,
pub success: bool,
pub reason: Bytes,
pub logs: Vec<Log>,
pub receipt: TransactionReceipt,
}Expand description
Represents the receipt of a user operation.
Fields§
§user_op_hash: BytesThe hash of the user operation.
entry_point: AddressThe entry point address for the user operation.
sender: AddressThe address of the sender of the user operation.
nonce: U256The nonce of the user operation.
paymaster: AddressThe address of the paymaster, if any.
actual_gas_cost: U256The actual gas cost incurred by the user operation.
actual_gas_used: U256The actual gas used by the user operation.
success: boolIndicates whether the user operation was successful.
reason: BytesThe reason for failure, if any.
logs: Vec<Log>The logs generated by the user operation.
receipt: TransactionReceiptThe transaction receipt of the user operation.
Trait Implementations§
Source§impl Clone for UserOperationReceipt
impl Clone for UserOperationReceipt
Source§fn clone(&self) -> UserOperationReceipt
fn clone(&self) -> UserOperationReceipt
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 UserOperationReceipt
impl Debug for UserOperationReceipt
Source§impl<'de> Deserialize<'de> for UserOperationReceipt
impl<'de> Deserialize<'de> for UserOperationReceipt
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 PartialEq for UserOperationReceipt
impl PartialEq for UserOperationReceipt
Source§impl Serialize for UserOperationReceipt
impl Serialize for UserOperationReceipt
impl Eq for UserOperationReceipt
impl StructuralPartialEq for UserOperationReceipt
Auto Trait Implementations§
impl !Freeze for UserOperationReceipt
impl RefUnwindSafe for UserOperationReceipt
impl Send for UserOperationReceipt
impl Sync for UserOperationReceipt
impl Unpin for UserOperationReceipt
impl UnwindSafe for UserOperationReceipt
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more