pub struct SparkTransferRpcInput {
pub method: SparkTransferRpcInputMethod,
pub network: Option<SparkNetwork>,
pub params: SparkTransferRpcInputParams,
}Expand description
Transfers satoshis to a Spark address.
JSON schema
{
"title": "SparkTransferRpcInput",
"description": "Transfers satoshis to a Spark address.",
"type": "object",
"required": [
"method",
"params"
],
"properties": {
"method": {
"type": "string",
"enum": [
"transfer"
]
},
"network": {
"allOf": [
{
"$ref": "#/components/schemas/SparkNetwork"
},
{
"default": "MAINNET"
}
]
},
"params": {
"$ref": "#/components/schemas/SparkTransferRpcInputParams"
}
},
"x-stainless-model": "wallets.spark_transfer_rpc_input"
}Fields§
§method: SparkTransferRpcInputMethod§network: Option<SparkNetwork>§params: SparkTransferRpcInputParamsTrait Implementations§
Source§impl Clone for SparkTransferRpcInput
impl Clone for SparkTransferRpcInput
Source§fn clone(&self) -> SparkTransferRpcInput
fn clone(&self) -> SparkTransferRpcInput
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 Debug for SparkTransferRpcInput
impl Debug for SparkTransferRpcInput
Source§impl<'de> Deserialize<'de> for SparkTransferRpcInput
impl<'de> Deserialize<'de> for SparkTransferRpcInput
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SparkTransferRpcInput, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SparkTransferRpcInput, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&SparkTransferRpcInput> for SparkTransferRpcInput
impl From<&SparkTransferRpcInput> for SparkTransferRpcInput
Source§fn from(value: &SparkTransferRpcInput) -> SparkTransferRpcInput
fn from(value: &SparkTransferRpcInput) -> SparkTransferRpcInput
Converts to this type from the input type.
Source§impl From<SparkTransferRpcInput> for SparkRpcInput
impl From<SparkTransferRpcInput> for SparkRpcInput
Source§fn from(value: SparkTransferRpcInput) -> SparkRpcInput
fn from(value: SparkTransferRpcInput) -> SparkRpcInput
Converts to this type from the input type.
Source§impl From<SparkTransferRpcInput> for WalletRpcRequestBody
impl From<SparkTransferRpcInput> for WalletRpcRequestBody
Source§fn from(value: SparkTransferRpcInput) -> WalletRpcRequestBody
fn from(value: SparkTransferRpcInput) -> WalletRpcRequestBody
Converts to this type from the input type.
Source§impl Serialize for SparkTransferRpcInput
impl Serialize for SparkTransferRpcInput
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 SparkTransferRpcInput
impl RefUnwindSafe for SparkTransferRpcInput
impl Send for SparkTransferRpcInput
impl Sync for SparkTransferRpcInput
impl Unpin for SparkTransferRpcInput
impl UnsafeUnpin for SparkTransferRpcInput
impl UnwindSafe for SparkTransferRpcInput
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