pub enum BtBolt11InvoiceState {
Pending,
Holding,
Paid,
Canceled,
}Variants§
Pending
Expect payment
Holding
Payment received but not confirmed/rejected yet. Only possible with HODL invoices.
Paid
Payment confirmed
Canceled
Payment rejected or invoice expired.
Trait Implementations§
Source§impl Clone for BtBolt11InvoiceState
impl Clone for BtBolt11InvoiceState
Source§fn clone(&self) -> BtBolt11InvoiceState
fn clone(&self) -> BtBolt11InvoiceState
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 BtBolt11InvoiceState
impl Debug for BtBolt11InvoiceState
Source§impl<'de> Deserialize<'de> for BtBolt11InvoiceState
impl<'de> Deserialize<'de> for BtBolt11InvoiceState
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 BtBolt11InvoiceState
impl PartialEq for BtBolt11InvoiceState
Source§impl Serialize for BtBolt11InvoiceState
impl Serialize for BtBolt11InvoiceState
impl StructuralPartialEq for BtBolt11InvoiceState
Auto Trait Implementations§
impl Freeze for BtBolt11InvoiceState
impl RefUnwindSafe for BtBolt11InvoiceState
impl Send for BtBolt11InvoiceState
impl Sync for BtBolt11InvoiceState
impl Unpin for BtBolt11InvoiceState
impl UnwindSafe for BtBolt11InvoiceState
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