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<SparkSignMessageWithIdentityKeyRpcInput, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SparkSignMessageWithIdentityKeyRpcInput, <__D as Deserializer<'de>>::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,
) -> SparkSignMessageWithIdentityKeyRpcInput
fn from( value: &SparkSignMessageWithIdentityKeyRpcInput, ) -> SparkSignMessageWithIdentityKeyRpcInput
Converts to this type from the input type.
Source§impl From<SparkSignMessageWithIdentityKeyRpcInput> for SparkRpcInput
impl From<SparkSignMessageWithIdentityKeyRpcInput> for SparkRpcInput
Source§fn from(value: SparkSignMessageWithIdentityKeyRpcInput) -> SparkRpcInput
fn from(value: SparkSignMessageWithIdentityKeyRpcInput) -> SparkRpcInput
Converts to this type from the input type.
Source§impl From<SparkSignMessageWithIdentityKeyRpcInput> for WalletRpcRequestBody
impl From<SparkSignMessageWithIdentityKeyRpcInput> for WalletRpcRequestBody
Source§fn from(value: SparkSignMessageWithIdentityKeyRpcInput) -> WalletRpcRequestBody
fn from(value: SparkSignMessageWithIdentityKeyRpcInput) -> WalletRpcRequestBody
Converts to this type from the input type.
Source§impl Serialize for SparkSignMessageWithIdentityKeyRpcInput
impl Serialize for SparkSignMessageWithIdentityKeyRpcInput
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 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