pub struct EthereumSign7702AuthorizationRpcResponse {
pub data: EthereumSign7702AuthorizationRpcResponseData,
pub method: EthereumSign7702AuthorizationRpcResponseMethod,
}Expand description
EthereumSign7702AuthorizationRpcResponse
JSON schema
{
"type": "object",
"required": [
"data",
"method"
],
"properties": {
"data": {
"type": "object",
"required": [
"authorization"
],
"properties": {
"authorization": {
"type": "object",
"required": [
"chain_id",
"contract",
"nonce",
"r",
"s",
"y_parity"
],
"properties": {
"chain_id": {
"oneOf": [
{
"type": "string"
},
{
"type": "integer",
"maximum": 9007199254740991.0,
"minimum": -9007199254740991.0
}
]
},
"contract": {
"type": "string"
},
"nonce": {
"oneOf": [
{
"type": "string"
},
{
"type": "integer",
"maximum": 9007199254740991.0,
"minimum": -9007199254740991.0
}
]
},
"r": {
"type": "string"
},
"s": {
"type": "string"
},
"y_parity": {
"type": "number"
}
}
}
}
},
"method": {
"type": "string",
"enum": [
"eth_sign7702Authorization"
]
}
}
}Fields§
§data: EthereumSign7702AuthorizationRpcResponseData§method: EthereumSign7702AuthorizationRpcResponseMethodTrait Implementations§
Source§impl Clone for EthereumSign7702AuthorizationRpcResponse
impl Clone for EthereumSign7702AuthorizationRpcResponse
Source§fn clone(&self) -> EthereumSign7702AuthorizationRpcResponse
fn clone(&self) -> EthereumSign7702AuthorizationRpcResponse
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<'de> Deserialize<'de> for EthereumSign7702AuthorizationRpcResponse
impl<'de> Deserialize<'de> for EthereumSign7702AuthorizationRpcResponse
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<&EthereumSign7702AuthorizationRpcResponse> for EthereumSign7702AuthorizationRpcResponse
impl From<&EthereumSign7702AuthorizationRpcResponse> for EthereumSign7702AuthorizationRpcResponse
Source§fn from(value: &EthereumSign7702AuthorizationRpcResponse) -> Self
fn from(value: &EthereumSign7702AuthorizationRpcResponse) -> Self
Converts to this type from the input type.
Source§impl From<EthereumSign7702AuthorizationRpcResponse> for WalletRpcResponse
impl From<EthereumSign7702AuthorizationRpcResponse> for WalletRpcResponse
Source§fn from(value: EthereumSign7702AuthorizationRpcResponse) -> Self
fn from(value: EthereumSign7702AuthorizationRpcResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for EthereumSign7702AuthorizationRpcResponse
impl RefUnwindSafe for EthereumSign7702AuthorizationRpcResponse
impl Send for EthereumSign7702AuthorizationRpcResponse
impl Sync for EthereumSign7702AuthorizationRpcResponse
impl Unpin for EthereumSign7702AuthorizationRpcResponse
impl UnwindSafe for EthereumSign7702AuthorizationRpcResponse
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