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