pub struct OnchainPayment {
pub outpoint: String,
pub sat: u64,
pub confirmed: bool,
}
Expand description
Details regarding a detected on-chain payment.
Fields§
§outpoint: String
The outpoint of the payment.
sat: u64
The amount of satoshi paid.
confirmed: bool
Indicates if the LSP regards the transaction as sufficiently confirmed.
Trait Implementations§
Source§impl Clone for OnchainPayment
impl Clone for OnchainPayment
Source§fn clone(&self) -> OnchainPayment
fn clone(&self) -> OnchainPayment
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 OnchainPayment
impl Debug for OnchainPayment
Source§impl<'de> Deserialize<'de> for OnchainPayment
impl<'de> Deserialize<'de> for OnchainPayment
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 PartialEq for OnchainPayment
impl PartialEq for OnchainPayment
Source§impl Serialize for OnchainPayment
impl Serialize for OnchainPayment
impl Eq for OnchainPayment
impl StructuralPartialEq for OnchainPayment
Auto Trait Implementations§
impl Freeze for OnchainPayment
impl RefUnwindSafe for OnchainPayment
impl Send for OnchainPayment
impl Sync for OnchainPayment
impl Unpin for OnchainPayment
impl UnwindSafe for OnchainPayment
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