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<EthereumSign7702AuthorizationRpcInput, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<EthereumSign7702AuthorizationRpcInput, <__D as Deserializer<'de>>::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,
) -> EthereumSign7702AuthorizationRpcInput
fn from( value: &EthereumSign7702AuthorizationRpcInput, ) -> EthereumSign7702AuthorizationRpcInput
Converts to this type from the input type.
Source§impl From<EthereumSign7702AuthorizationRpcInput> for WalletRpcBody
impl From<EthereumSign7702AuthorizationRpcInput> for WalletRpcBody
Source§fn from(value: EthereumSign7702AuthorizationRpcInput) -> WalletRpcBody
fn from(value: EthereumSign7702AuthorizationRpcInput) -> WalletRpcBody
Converts to this type from the input type.
Source§impl Serialize for EthereumSign7702AuthorizationRpcInput
impl Serialize for EthereumSign7702AuthorizationRpcInput
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
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