pub struct SparkSignMessageWithIdentityKeyRpcInput {
pub method: SparkSignMessageWithIdentityKeyRpcInputMethod,
pub network: Option<SparkNetwork>,
pub params: SparkSignMessageWithIdentityKeyRpcInputParams,
}Expand description
Signs a message with the Spark identity key.
JSON schema
{
"title": "SparkSignMessageWithIdentityKeyRpcInput",
"description": "Signs a message with the Spark identity key.",
"type": "object",
"required": [
"method",
"params"
],
"properties": {
"method": {
"type": "string",
"enum": [
"signMessageWithIdentityKey"
]
},
"network": {
"allOf": [
{
"$ref": "#/components/schemas/SparkNetwork"
},
{
"default": "MAINNET"
}
]
},
"params": {
"$ref":
"#/components/schemas/SparkSignMessageWithIdentityKeyRpcInputParams"
}
},
"x-stainless-model":
"wallets.spark_sign_message_with_identity_key_rpc_input"
}Fields§
§method: SparkSignMessageWithIdentityKeyRpcInputMethod§network: Option<SparkNetwork>§params: SparkSignMessageWithIdentityKeyRpcInputParamsTrait Implementations§
Source§impl Clone for SparkSignMessageWithIdentityKeyRpcInput
impl Clone for SparkSignMessageWithIdentityKeyRpcInput
Source§fn clone(&self) -> SparkSignMessageWithIdentityKeyRpcInput
fn clone(&self) -> SparkSignMessageWithIdentityKeyRpcInput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SparkSignMessageWithIdentityKeyRpcInput
impl<'de> Deserialize<'de> for SparkSignMessageWithIdentityKeyRpcInput
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<&SparkSignMessageWithIdentityKeyRpcInput> for SparkSignMessageWithIdentityKeyRpcInput
impl From<&SparkSignMessageWithIdentityKeyRpcInput> for SparkSignMessageWithIdentityKeyRpcInput
Source§fn from(value: &SparkSignMessageWithIdentityKeyRpcInput) -> Self
fn from(value: &SparkSignMessageWithIdentityKeyRpcInput) -> Self
Converts to this type from the input type.
Source§impl From<SparkSignMessageWithIdentityKeyRpcInput> for SparkRpcInput
impl From<SparkSignMessageWithIdentityKeyRpcInput> for SparkRpcInput
Source§fn from(value: SparkSignMessageWithIdentityKeyRpcInput) -> Self
fn from(value: SparkSignMessageWithIdentityKeyRpcInput) -> Self
Converts to this type from the input type.
Source§impl From<SparkSignMessageWithIdentityKeyRpcInput> for WalletRpcRequestBody
impl From<SparkSignMessageWithIdentityKeyRpcInput> for WalletRpcRequestBody
Source§fn from(value: SparkSignMessageWithIdentityKeyRpcInput) -> Self
fn from(value: SparkSignMessageWithIdentityKeyRpcInput) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SparkSignMessageWithIdentityKeyRpcInput
impl RefUnwindSafe for SparkSignMessageWithIdentityKeyRpcInput
impl Send for SparkSignMessageWithIdentityKeyRpcInput
impl Sync for SparkSignMessageWithIdentityKeyRpcInput
impl Unpin for SparkSignMessageWithIdentityKeyRpcInput
impl UnsafeUnpin for SparkSignMessageWithIdentityKeyRpcInput
impl UnwindSafe for SparkSignMessageWithIdentityKeyRpcInput
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