pub enum BtPaymentState {
Created,
PartiallyPaid,
Paid,
Refunded,
RefundAvailable,
}Expand description
@deprecated Use BtPaymentState2 instead.
Variants§
Created
Ready to receive payments
PartiallyPaid
Partially paid order will just be displayed as created.
Paid
Order is paid
Refunded
Order is refunded.
RefundAvailable
Onchain refunds can’t be done automatically. refundAvailable is displayed in this case.
Trait Implementations§
Source§impl Clone for BtPaymentState
impl Clone for BtPaymentState
Source§fn clone(&self) -> BtPaymentState
fn clone(&self) -> BtPaymentState
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 BtPaymentState
impl Debug for BtPaymentState
Source§impl<'de> Deserialize<'de> for BtPaymentState
impl<'de> Deserialize<'de> for BtPaymentState
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 BtPaymentState
impl PartialEq for BtPaymentState
Source§impl Serialize for BtPaymentState
impl Serialize for BtPaymentState
impl StructuralPartialEq for BtPaymentState
Auto Trait Implementations§
impl Freeze for BtPaymentState
impl RefUnwindSafe for BtPaymentState
impl Send for BtPaymentState
impl Sync for BtPaymentState
impl Unpin for BtPaymentState
impl UnwindSafe for BtPaymentState
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