pub struct PreflightPayOnchainRequest {
pub address: Address<NetworkUnchecked>,
pub amount: Amount,
}Fields§
§address: Address<NetworkUnchecked>The address we want to send funds to.
amount: AmountHow much Bitcoin we want to send.
Trait Implementations§
Source§impl Debug for PreflightPayOnchainRequest
impl Debug for PreflightPayOnchainRequest
Source§impl<'de> Deserialize<'de> for PreflightPayOnchainRequest
impl<'de> Deserialize<'de> for PreflightPayOnchainRequest
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 PreflightPayOnchainRequest
impl PartialEq for PreflightPayOnchainRequest
Source§fn eq(&self, other: &PreflightPayOnchainRequest) -> bool
fn eq(&self, other: &PreflightPayOnchainRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PreflightPayOnchainRequest
Auto Trait Implementations§
impl Freeze for PreflightPayOnchainRequest
impl RefUnwindSafe for PreflightPayOnchainRequest
impl Send for PreflightPayOnchainRequest
impl Sync for PreflightPayOnchainRequest
impl Unpin for PreflightPayOnchainRequest
impl UnsafeUnpin for PreflightPayOnchainRequest
impl UnwindSafe for PreflightPayOnchainRequest
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