Enum mostro_core::message::Action
source · pub enum Action {
Show 36 variants
NewOrder,
TakeSell,
TakeBuy,
PayInvoice,
FiatSent,
FiatSentOk,
Release,
Released,
Cancel,
Canceled,
CooperativeCancelInitiatedByYou,
CooperativeCancelInitiatedByPeer,
DisputeInitiatedByYou,
DisputeInitiatedByPeer,
CooperativeCancelAccepted,
BuyerInvoiceAccepted,
PurchaseCompleted,
HoldInvoicePaymentAccepted,
HoldInvoicePaymentSettled,
HoldInvoicePaymentCanceled,
WaitingSellerToPay,
WaitingBuyerInvoice,
AddInvoice,
BuyerTookOrder,
Rate,
RateUser,
RateReceived,
CantDo,
Dispute,
AdminCancel,
AdminCanceled,
AdminSettle,
AdminSettled,
AdminAddSolver,
AdminTakeDispute,
AdminTookDispute,
}
Expand description
Action is used to identify each message between Mostro and users
Variants§
NewOrder
TakeSell
TakeBuy
PayInvoice
FiatSent
FiatSentOk
Release
Released
Cancel
Canceled
CooperativeCancelInitiatedByYou
CooperativeCancelInitiatedByPeer
DisputeInitiatedByYou
DisputeInitiatedByPeer
CooperativeCancelAccepted
BuyerInvoiceAccepted
PurchaseCompleted
HoldInvoicePaymentAccepted
HoldInvoicePaymentSettled
HoldInvoicePaymentCanceled
WaitingSellerToPay
WaitingBuyerInvoice
AddInvoice
BuyerTookOrder
Rate
RateUser
RateReceived
CantDo
Dispute
AdminCancel
AdminCanceled
AdminSettle
AdminSettled
AdminAddSolver
AdminTakeDispute
AdminTookDispute
Trait Implementations§
source§impl<'de> Deserialize<'de> for Action
impl<'de> Deserialize<'de> for Action
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 Action
impl PartialEq for Action
impl Eq for Action
impl StructuralPartialEq for Action
Auto Trait Implementations§
impl Freeze for Action
impl RefUnwindSafe for Action
impl Send for Action
impl Sync for Action
impl Unpin for Action
impl UnwindSafe for Action
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