pub struct SparkPayLightningInvoiceRpcResponse {
pub data: Option<SparkPayLightningInvoiceRpcResponseData>,
pub method: SparkPayLightningInvoiceRpcResponseMethod,
}Expand description
Response to the Spark payLightningInvoice RPC.
JSON schema
{
"title": "SparkPayLightningInvoiceRpcResponse",
"description": "Response to the Spark `payLightningInvoice` RPC.",
"type": "object",
"required": [
"method"
],
"properties": {
"data": {
"oneOf": [
{
"$ref": "#/components/schemas/SparkTransfer"
},
{
"$ref": "#/components/schemas/SparkLightningSendRequest"
}
]
},
"method": {
"type": "string",
"enum": [
"payLightningInvoice"
]
}
},
"x-stainless-model": "wallets.spark_pay_lightning_invoice_rpc_response"
}Fields§
§data: Option<SparkPayLightningInvoiceRpcResponseData>§method: SparkPayLightningInvoiceRpcResponseMethodTrait Implementations§
Source§impl Clone for SparkPayLightningInvoiceRpcResponse
impl Clone for SparkPayLightningInvoiceRpcResponse
Source§fn clone(&self) -> SparkPayLightningInvoiceRpcResponse
fn clone(&self) -> SparkPayLightningInvoiceRpcResponse
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 SparkPayLightningInvoiceRpcResponse
impl<'de> Deserialize<'de> for SparkPayLightningInvoiceRpcResponse
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<&SparkPayLightningInvoiceRpcResponse> for SparkPayLightningInvoiceRpcResponse
impl From<&SparkPayLightningInvoiceRpcResponse> for SparkPayLightningInvoiceRpcResponse
Source§fn from(value: &SparkPayLightningInvoiceRpcResponse) -> Self
fn from(value: &SparkPayLightningInvoiceRpcResponse) -> Self
Converts to this type from the input type.
Source§impl From<SparkPayLightningInvoiceRpcResponse> for SparkRpcResponse
impl From<SparkPayLightningInvoiceRpcResponse> for SparkRpcResponse
Source§fn from(value: SparkPayLightningInvoiceRpcResponse) -> Self
fn from(value: SparkPayLightningInvoiceRpcResponse) -> Self
Converts to this type from the input type.
Source§impl From<SparkPayLightningInvoiceRpcResponse> for WalletRpcResponse
impl From<SparkPayLightningInvoiceRpcResponse> for WalletRpcResponse
Source§fn from(value: SparkPayLightningInvoiceRpcResponse) -> Self
fn from(value: SparkPayLightningInvoiceRpcResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SparkPayLightningInvoiceRpcResponse
impl RefUnwindSafe for SparkPayLightningInvoiceRpcResponse
impl Send for SparkPayLightningInvoiceRpcResponse
impl Sync for SparkPayLightningInvoiceRpcResponse
impl Unpin for SparkPayLightningInvoiceRpcResponse
impl UnsafeUnpin for SparkPayLightningInvoiceRpcResponse
impl UnwindSafe for SparkPayLightningInvoiceRpcResponse
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