pub struct SparkTransferRpcInputParams {
pub amount_sats: f64,
pub receiver_spark_address: String,
}Expand description
Parameters for the Spark transfer RPC.
JSON schema
{
"title": "SparkTransferRpcInputParams",
"description": "Parameters for the Spark `transfer` RPC.",
"type": "object",
"required": [
"amount_sats",
"receiver_spark_address"
],
"properties": {
"amount_sats": {
"type": "number"
},
"receiver_spark_address": {
"type": "string"
}
},
"x-stainless-model": "wallets.spark_transfer_rpc_input_params"
}Fields§
§amount_sats: f64§receiver_spark_address: StringTrait Implementations§
Source§impl Clone for SparkTransferRpcInputParams
impl Clone for SparkTransferRpcInputParams
Source§fn clone(&self) -> SparkTransferRpcInputParams
fn clone(&self) -> SparkTransferRpcInputParams
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 SparkTransferRpcInputParams
impl Debug for SparkTransferRpcInputParams
Source§impl<'de> Deserialize<'de> for SparkTransferRpcInputParams
impl<'de> Deserialize<'de> for SparkTransferRpcInputParams
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<&SparkTransferRpcInputParams> for SparkTransferRpcInputParams
impl From<&SparkTransferRpcInputParams> for SparkTransferRpcInputParams
Source§fn from(value: &SparkTransferRpcInputParams) -> Self
fn from(value: &SparkTransferRpcInputParams) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SparkTransferRpcInputParams
impl RefUnwindSafe for SparkTransferRpcInputParams
impl Send for SparkTransferRpcInputParams
impl Sync for SparkTransferRpcInputParams
impl Unpin for SparkTransferRpcInputParams
impl UnsafeUnpin for SparkTransferRpcInputParams
impl UnwindSafe for SparkTransferRpcInputParams
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