pub struct UserOperationReceipt {
pub user_op_hash: Bytes,
pub entry_point: Address,
pub sender: Address,
pub nonce: Uint<256, 4>,
pub paymaster: Address,
pub actual_gas_cost: Uint<256, 4>,
pub actual_gas_used: Uint<256, 4>,
pub success: bool,
pub reason: Bytes,
pub logs: Vec<Log>,
pub receipt: TransactionReceipt,
}
Available on crate feature
eth
only.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: Uint<256, 4>
The nonce of the user operation.
paymaster: Address
The address of the paymaster, if any.
actual_gas_cost: Uint<256, 4>
The actual gas cost incurred by the user operation.
actual_gas_used: Uint<256, 4>
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<UserOperationReceipt, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<UserOperationReceipt, <__D as Deserializer<'de>>::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
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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