pub struct Payment {
pub state: PaymentState,
pub fee_total_sat: SatAmount,
pub order_total_sat: SatAmount,
pub bolt11_invoice: String,
pub onchain_address: Option<OnchainAddress>,
pub min_onchain_payment_confirmations: Option<u8>,
pub min_fee_for_0conf: Option<FeeRate>,
pub onchain_payment: Option<OnchainPayment>,
/* private fields */
}Fields§
§state: PaymentState§fee_total_sat: SatAmount§order_total_sat: SatAmount§bolt11_invoice: String§onchain_address: Option<OnchainAddress>§min_onchain_payment_confirmations: Option<u8>§min_fee_for_0conf: Option<FeeRate>§onchain_payment: Option<OnchainPayment>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Payment
impl<'de> Deserialize<'de> for Payment
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 Payment
impl RefUnwindSafe for Payment
impl Send for Payment
impl Sync for Payment
impl Unpin for Payment
impl UnwindSafe for Payment
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