pub struct UserOperationReceiptRevert {
pub data: UserOperationReceiptRevertData,
pub message: String,
}
Expand description
The revert data if the user operation has reverted.
JSON schema
{
"description": "The revert data if the user operation has reverted.",
"examples": [
{
"data": "0x123",
"message": "reason for failure"
}
],
"type": "object",
"required": [
"data",
"message"
],
"properties": {
"data": {
"description": "The 0x-prefixed raw hex string.",
"examples": [
"0x123"
],
"type": "string",
"pattern": "^0x[0-9a-fA-F]*$"
},
"message": {
"description": "Human-readable revert reason if able to decode.",
"examples": [
"reason for failure"
],
"type": "string"
}
}
}
Fields§
§data: UserOperationReceiptRevertData
The 0x-prefixed raw hex string.
message: String
Human-readable revert reason if able to decode.
Implementations§
Source§impl UserOperationReceiptRevert
impl UserOperationReceiptRevert
pub fn builder() -> UserOperationReceiptRevert
Trait Implementations§
Source§impl Clone for UserOperationReceiptRevert
impl Clone for UserOperationReceiptRevert
Source§fn clone(&self) -> UserOperationReceiptRevert
fn clone(&self) -> UserOperationReceiptRevert
Returns a duplicate 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 UserOperationReceiptRevert
impl Debug for UserOperationReceiptRevert
Source§impl<'de> Deserialize<'de> for UserOperationReceiptRevert
impl<'de> Deserialize<'de> for UserOperationReceiptRevert
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 From<&UserOperationReceiptRevert> for UserOperationReceiptRevert
impl From<&UserOperationReceiptRevert> for UserOperationReceiptRevert
Source§fn from(value: &UserOperationReceiptRevert) -> Self
fn from(value: &UserOperationReceiptRevert) -> Self
Converts to this type from the input type.
Source§impl From<UserOperationReceiptRevert> for UserOperationReceiptRevert
impl From<UserOperationReceiptRevert> for UserOperationReceiptRevert
Source§fn from(value: UserOperationReceiptRevert) -> Self
fn from(value: UserOperationReceiptRevert) -> Self
Converts to this type from the input type.
Source§impl TryFrom<UserOperationReceiptRevert> for UserOperationReceiptRevert
impl TryFrom<UserOperationReceiptRevert> for UserOperationReceiptRevert
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: UserOperationReceiptRevert) -> Result<Self, ConversionError>
fn try_from(value: UserOperationReceiptRevert) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for UserOperationReceiptRevert
impl RefUnwindSafe for UserOperationReceiptRevert
impl Send for UserOperationReceiptRevert
impl Sync for UserOperationReceiptRevert
impl Unpin for UserOperationReceiptRevert
impl UnwindSafe for UserOperationReceiptRevert
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