pub enum BtPaymentState2 {
Created,
Paid,
Refunded,
RefundAvailable,
Canceled,
}Variants§
Created
Ready to receive payments
Paid
Order is paid
Refunded
Order is refunded.
RefundAvailable
Onchain refunds can’t be done automatically. refundAvailable is displayed in this case.
Canceled
Payments not possible anymore.
Trait Implementations§
Source§impl Clone for BtPaymentState2
impl Clone for BtPaymentState2
Source§fn clone(&self) -> BtPaymentState2
fn clone(&self) -> BtPaymentState2
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 BtPaymentState2
impl Debug for BtPaymentState2
Source§impl<'de> Deserialize<'de> for BtPaymentState2
impl<'de> Deserialize<'de> for BtPaymentState2
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 BtPaymentState2
impl PartialEq for BtPaymentState2
Source§impl Serialize for BtPaymentState2
impl Serialize for BtPaymentState2
impl StructuralPartialEq for BtPaymentState2
Auto Trait Implementations§
impl Freeze for BtPaymentState2
impl RefUnwindSafe for BtPaymentState2
impl Send for BtPaymentState2
impl Sync for BtPaymentState2
impl Unpin for BtPaymentState2
impl UnwindSafe for BtPaymentState2
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