pub enum Status {
Show 15 variants
Active,
Canceled,
CanceledByAdmin,
SettledByAdmin,
CompletedByAdmin,
Dispute,
Expired,
FiatSent,
SettledHoldInvoice,
Pending,
Success,
WaitingBuyerInvoice,
WaitingPayment,
CooperativelyCanceled,
InProgress,
}Expand description
Lifecycle status of an Order.
Values are serialized in kebab-case, matching the representation stored
in the database and sent over the wire.
Variants§
Active
Order is published and available to be taken.
Canceled
Order was canceled by the maker or the taker.
CanceledByAdmin
Order was canceled by an admin.
SettledByAdmin
Order was settled by an admin (solver) after a dispute.
CompletedByAdmin
Order was completed by an admin after a dispute.
Dispute
Order is currently in dispute.
Expired
Order expired before being taken or completed.
FiatSent
Buyer has marked fiat as sent; waiting for the seller to release.
SettledHoldInvoice
Hold invoice has been settled; payment to the buyer is in flight.
Pending
Order has been created but not yet published.
Success
Trade completed successfully.
WaitingBuyerInvoice
Waiting for the buyer’s payout invoice.
WaitingPayment
Waiting for the seller to pay the hold invoice.
CooperativelyCanceled
Both parties agreed to cooperatively cancel the trade.
InProgress
Order has been taken and the trade is in progress.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Status
impl<'de> Deserialize<'de> for Status
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>,
Source§impl FromWasmAbi for Status
impl FromWasmAbi for Status
Source§impl IntoWasmAbi for Status
impl IntoWasmAbi for Status
Source§impl OptionFromWasmAbi for Status
impl OptionFromWasmAbi for Status
Source§impl OptionIntoWasmAbi for Status
impl OptionIntoWasmAbi for Status
Source§impl TryFromJsValue for Status
impl TryFromJsValue for Status
Source§impl VectorFromWasmAbi for Status
impl VectorFromWasmAbi for Status
Source§impl VectorIntoWasmAbi for Status
impl VectorIntoWasmAbi for Status
impl Copy for Status
impl Eq for Status
impl StructuralPartialEq for Status
Auto Trait Implementations§
impl Freeze for Status
impl RefUnwindSafe for Status
impl Send for Status
impl Sync for Status
impl Unpin for Status
impl UnsafeUnpin for Status
impl UnwindSafe for Status
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
IntoWasmAbi::AbiSource§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
IntoWasmAbi::into_abi, except that it may throw and never
return in the case of Err.