pub struct IBtPayment {
pub state: BtPaymentState,
pub state2: BtPaymentState2,
pub paid_sat: u64,
pub bolt11_invoice: IBtBolt11Invoice,
pub onchain: IBtOnchainTransactions,
pub is_manually_paid: Option<bool>,
pub manual_refunds: Option<Vec<IManualRefund>>,
}Fields§
§state: BtPaymentState@deprecated Will be removed in future releases. Use state2 instead.
state2: BtPaymentState2§paid_sat: u64§bolt11_invoice: IBtBolt11Invoice§onchain: IBtOnchainTransactions§is_manually_paid: Option<bool>Internal flag
manual_refunds: Option<Vec<IManualRefund>>Refund objects
Trait Implementations§
Source§impl Clone for IBtPayment
impl Clone for IBtPayment
Source§fn clone(&self) -> IBtPayment
fn clone(&self) -> IBtPayment
Returns a duplicate of the value. Read more
1.0.0 · 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 IBtPayment
impl Debug for IBtPayment
Source§impl<'de> Deserialize<'de> for IBtPayment
impl<'de> Deserialize<'de> for IBtPayment
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
Auto Trait Implementations§
impl Freeze for IBtPayment
impl RefUnwindSafe for IBtPayment
impl Send for IBtPayment
impl Sync for IBtPayment
impl Unpin for IBtPayment
impl UnwindSafe for IBtPayment
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