pub struct EthereumSign7702AuthorizationRpcInput {
pub address: Option<String>,
pub chain_type: Option<EthereumSign7702AuthorizationRpcInputChainType>,
pub method: EthereumSign7702AuthorizationRpcInputMethod,
pub params: EthereumSign7702AuthorizationRpcInputParams,
}Expand description
EthereumSign7702AuthorizationRpcInput
JSON schema
{
"type": "object",
"required": [
"method",
"params"
],
"properties": {
"address": {
"type": "string"
},
"chain_type": {
"type": "string",
"enum": [
"ethereum"
]
},
"method": {
"type": "string",
"enum": [
"eth_sign7702Authorization"
]
},
"params": {
"type": "object",
"required": [
"chain_id",
"contract"
],
"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
}
]
}
}
}
}
}Fields§
§address: Option<String>§chain_type: Option<EthereumSign7702AuthorizationRpcInputChainType>§method: EthereumSign7702AuthorizationRpcInputMethod§params: EthereumSign7702AuthorizationRpcInputParamsTrait Implementations§
Source§impl Clone for EthereumSign7702AuthorizationRpcInput
impl Clone for EthereumSign7702AuthorizationRpcInput
Source§fn clone(&self) -> EthereumSign7702AuthorizationRpcInput
fn clone(&self) -> EthereumSign7702AuthorizationRpcInput
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 EthereumSign7702AuthorizationRpcInput
impl<'de> Deserialize<'de> for EthereumSign7702AuthorizationRpcInput
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<&EthereumSign7702AuthorizationRpcInput> for EthereumSign7702AuthorizationRpcInput
impl From<&EthereumSign7702AuthorizationRpcInput> for EthereumSign7702AuthorizationRpcInput
Source§fn from(value: &EthereumSign7702AuthorizationRpcInput) -> Self
fn from(value: &EthereumSign7702AuthorizationRpcInput) -> Self
Converts to this type from the input type.
Source§impl From<EthereumSign7702AuthorizationRpcInput> for WalletRpcBody
impl From<EthereumSign7702AuthorizationRpcInput> for WalletRpcBody
Source§fn from(value: EthereumSign7702AuthorizationRpcInput) -> Self
fn from(value: EthereumSign7702AuthorizationRpcInput) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for EthereumSign7702AuthorizationRpcInput
impl RefUnwindSafe for EthereumSign7702AuthorizationRpcInput
impl Send for EthereumSign7702AuthorizationRpcInput
impl Sync for EthereumSign7702AuthorizationRpcInput
impl Unpin for EthereumSign7702AuthorizationRpcInput
impl UnwindSafe for EthereumSign7702AuthorizationRpcInput
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