lightspark 0.10.2

Lightspark Rust SDK
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright ©, 2023-present, Lightspark Group, Inc. - All Rights Reserved
use crate::objects::transaction_status::TransactionStatus;
use serde::{Deserialize, Serialize};
use std::vec::Vec;

#[derive(Debug, Clone, Deserialize, Serialize)]
pub struct OutgoingPaymentsForPaymentHashQueryInput {
    /// The 32-byte hash of the payment preimage for which to fetch payments
    pub payment_hash: String,

    /// An optional filter to only query outgoing payments of given statuses.
    pub statuses: Option<Vec<TransactionStatus>>,
}