pub struct OnchainPayment {
pub outpoint: String,
pub sat: SatAmount,
pub confirmed: bool,
/* private fields */
}Fields§
§outpoint: String§sat: SatAmount§confirmed: boolTrait 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
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