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<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<&EthereumSignTypedDataRpcResponse> for EthereumSignTypedDataRpcResponse
impl From<&EthereumSignTypedDataRpcResponse> for EthereumSignTypedDataRpcResponse
Source§fn from(value: &EthereumSignTypedDataRpcResponse) -> Self
fn from(value: &EthereumSignTypedDataRpcResponse) -> Self
Converts to this type from the input type.
Source§impl From<EthereumSignTypedDataRpcResponse> for WalletRpcResponse
impl From<EthereumSignTypedDataRpcResponse> for WalletRpcResponse
Source§fn from(value: EthereumSignTypedDataRpcResponse) -> Self
fn from(value: EthereumSignTypedDataRpcResponse) -> Self
Converts to this type from the input type.
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