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: Bytes
The hash of the user operation.
entry_point: Address
The entry point address for the user operation.
sender: Address
The address of the sender of the user operation.
nonce: U256
The nonce of the user operation.
paymaster: Address
The address of the paymaster, if any.
actual_gas_cost: U256
The actual gas cost incurred by the user operation.
actual_gas_used: U256
The actual gas used by the user operation.
success: bool
Indicates whether the user operation was successful.
reason: Bytes
The reason for failure, if any.
logs: Vec<Log>
The logs generated by the user operation.
receipt: TransactionReceipt
The 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§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
)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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