pub struct SparkLightningSendRequest {
pub created_at: String,
pub encoded_invoice: String,
pub fee: SparkLightningFee,
pub id: String,
pub idempotency_key: String,
pub network: String,
pub payment_preimage: Option<String>,
pub status: String,
pub transfer: Option<Value>,
pub typename: String,
pub updated_at: String,
}Expand description
A Spark Lightning send request.
JSON schema
{
"title": "SparkLightningSendRequest",
"description": "A Spark Lightning send request.",
"type": "object",
"required": [
"created_at",
"encoded_invoice",
"fee",
"id",
"idempotency_key",
"network",
"status",
"typename",
"updated_at"
],
"properties": {
"created_at": {
"type": "string"
},
"encoded_invoice": {
"type": "string"
},
"fee": {
"$ref": "#/components/schemas/SparkLightningFee"
},
"id": {
"type": "string"
},
"idempotency_key": {
"type": "string"
},
"network": {
"type": "string"
},
"payment_preimage": {
"type": "string"
},
"status": {
"type": "string"
},
"transfer": {
"x-stainless-any": true
},
"typename": {
"type": "string"
},
"updated_at": {
"type": "string"
}
},
"x-stainless-model": "wallets.spark_lightning_send_request"
}Fields§
§created_at: String§encoded_invoice: String§fee: SparkLightningFee§id: String§idempotency_key: String§network: String§payment_preimage: Option<String>§status: String§transfer: Option<Value>§typename: String§updated_at: StringTrait Implementations§
Source§impl Clone for SparkLightningSendRequest
impl Clone for SparkLightningSendRequest
Source§fn clone(&self) -> SparkLightningSendRequest
fn clone(&self) -> SparkLightningSendRequest
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 SparkLightningSendRequest
impl Debug for SparkLightningSendRequest
Source§impl<'de> Deserialize<'de> for SparkLightningSendRequest
impl<'de> Deserialize<'de> for SparkLightningSendRequest
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<&SparkLightningSendRequest> for SparkLightningSendRequest
impl From<&SparkLightningSendRequest> for SparkLightningSendRequest
Source§fn from(value: &SparkLightningSendRequest) -> Self
fn from(value: &SparkLightningSendRequest) -> Self
Converts to this type from the input type.
Source§impl From<SparkLightningSendRequest> for SparkPayLightningInvoiceRpcResponseData
impl From<SparkLightningSendRequest> for SparkPayLightningInvoiceRpcResponseData
Source§fn from(value: SparkLightningSendRequest) -> Self
fn from(value: SparkLightningSendRequest) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SparkLightningSendRequest
impl RefUnwindSafe for SparkLightningSendRequest
impl Send for SparkLightningSendRequest
impl Sync for SparkLightningSendRequest
impl Unpin for SparkLightningSendRequest
impl UnsafeUnpin for SparkLightningSendRequest
impl UnwindSafe for SparkLightningSendRequest
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