pub enum MeltPaymentRequest {
Bolt11 {
bolt11: Bolt11Invoice,
},
Bolt12 {
offer: Box<Offer>,
},
}
Expand description
Payment request
Variants§
Trait Implementations§
Source§impl Clone for MeltPaymentRequest
impl Clone for MeltPaymentRequest
Source§fn clone(&self) -> MeltPaymentRequest
fn clone(&self) -> MeltPaymentRequest
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 MeltPaymentRequest
impl Debug for MeltPaymentRequest
Source§impl<'de> Deserialize<'de> for MeltPaymentRequest
impl<'de> Deserialize<'de> for MeltPaymentRequest
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 Display for MeltPaymentRequest
impl Display for MeltPaymentRequest
Source§impl Hash for MeltPaymentRequest
impl Hash for MeltPaymentRequest
Source§impl PartialEq for MeltPaymentRequest
impl PartialEq for MeltPaymentRequest
Source§impl Serialize for MeltPaymentRequest
impl Serialize for MeltPaymentRequest
impl Eq for MeltPaymentRequest
impl StructuralPartialEq for MeltPaymentRequest
Auto Trait Implementations§
impl Freeze for MeltPaymentRequest
impl RefUnwindSafe for MeltPaymentRequest
impl Send for MeltPaymentRequest
impl Sync for MeltPaymentRequest
impl Unpin for MeltPaymentRequest
impl UnwindSafe for MeltPaymentRequest
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