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