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