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