pub struct EthereumSignTypedDataRpcResponse {
pub data: EthereumSignTypedDataRpcResponseData,
pub method: EthereumSignTypedDataRpcResponseMethod,
}Expand description
EthereumSignTypedDataRpcResponse
JSON schema
{
"type": "object",
"required": [
"data",
"method"
],
"properties": {
"data": {
"type": "object",
"required": [
"encoding",
"signature"
],
"properties": {
"encoding": {
"type": "string",
"enum": [
"hex"
]
},
"signature": {
"type": "string"
}
}
},
"method": {
"type": "string",
"enum": [
"eth_signTypedData_v4"
]
}
}
}Fields§
§data: EthereumSignTypedDataRpcResponseData§method: EthereumSignTypedDataRpcResponseMethodTrait Implementations§
Source§impl Clone for EthereumSignTypedDataRpcResponse
impl Clone for EthereumSignTypedDataRpcResponse
Source§fn clone(&self) -> EthereumSignTypedDataRpcResponse
fn clone(&self) -> EthereumSignTypedDataRpcResponse
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 EthereumSignTypedDataRpcResponse
impl<'de> Deserialize<'de> for EthereumSignTypedDataRpcResponse
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<EthereumSignTypedDataRpcResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<EthereumSignTypedDataRpcResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&EthereumSignTypedDataRpcResponse> for EthereumSignTypedDataRpcResponse
impl From<&EthereumSignTypedDataRpcResponse> for EthereumSignTypedDataRpcResponse
Source§fn from(
value: &EthereumSignTypedDataRpcResponse,
) -> EthereumSignTypedDataRpcResponse
fn from( value: &EthereumSignTypedDataRpcResponse, ) -> EthereumSignTypedDataRpcResponse
Converts to this type from the input type.
Source§impl From<EthereumSignTypedDataRpcResponse> for WalletRpcResponse
impl From<EthereumSignTypedDataRpcResponse> for WalletRpcResponse
Source§fn from(value: EthereumSignTypedDataRpcResponse) -> WalletRpcResponse
fn from(value: EthereumSignTypedDataRpcResponse) -> WalletRpcResponse
Converts to this type from the input type.
Source§impl Serialize for EthereumSignTypedDataRpcResponse
impl Serialize for EthereumSignTypedDataRpcResponse
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 EthereumSignTypedDataRpcResponse
impl RefUnwindSafe for EthereumSignTypedDataRpcResponse
impl Send for EthereumSignTypedDataRpcResponse
impl Sync for EthereumSignTypedDataRpcResponse
impl Unpin for EthereumSignTypedDataRpcResponse
impl UnwindSafe for EthereumSignTypedDataRpcResponse
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