pub struct EthereumPersonalSignRpcResponse {
pub data: EthereumPersonalSignRpcResponseData,
pub method: EthereumPersonalSignRpcResponseMethod,
}Expand description
EthereumPersonalSignRpcResponse
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": [
"personal_sign"
]
}
}
}Fields§
§data: EthereumPersonalSignRpcResponseData§method: EthereumPersonalSignRpcResponseMethodTrait Implementations§
Source§impl Clone for EthereumPersonalSignRpcResponse
impl Clone for EthereumPersonalSignRpcResponse
Source§fn clone(&self) -> EthereumPersonalSignRpcResponse
fn clone(&self) -> EthereumPersonalSignRpcResponse
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 EthereumPersonalSignRpcResponse
impl<'de> Deserialize<'de> for EthereumPersonalSignRpcResponse
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<EthereumPersonalSignRpcResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<EthereumPersonalSignRpcResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&EthereumPersonalSignRpcResponse> for EthereumPersonalSignRpcResponse
impl From<&EthereumPersonalSignRpcResponse> for EthereumPersonalSignRpcResponse
Source§fn from(
value: &EthereumPersonalSignRpcResponse,
) -> EthereumPersonalSignRpcResponse
fn from( value: &EthereumPersonalSignRpcResponse, ) -> EthereumPersonalSignRpcResponse
Converts to this type from the input type.
Source§impl From<EthereumPersonalSignRpcResponse> for WalletRpcResponse
impl From<EthereumPersonalSignRpcResponse> for WalletRpcResponse
Source§fn from(value: EthereumPersonalSignRpcResponse) -> WalletRpcResponse
fn from(value: EthereumPersonalSignRpcResponse) -> WalletRpcResponse
Converts to this type from the input type.
Source§impl Serialize for EthereumPersonalSignRpcResponse
impl Serialize for EthereumPersonalSignRpcResponse
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 EthereumPersonalSignRpcResponse
impl RefUnwindSafe for EthereumPersonalSignRpcResponse
impl Send for EthereumPersonalSignRpcResponse
impl Sync for EthereumPersonalSignRpcResponse
impl Unpin for EthereumPersonalSignRpcResponse
impl UnwindSafe for EthereumPersonalSignRpcResponse
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