#[repr(u8)]pub enum WorkOrderStatus {
New = 0,
Accepted = 1,
ReceiptSubmitted = 2,
Released = 3,
Refunded = 4,
Disputed = 5,
}Expand description
Status constants — must match tai::work_order Move constants.
Variants§
New = 0
Buyer created and locked SUI; payee has not acknowledged.
Accepted = 1
Payee accepted via Owner- or OperatorCap.
ReceiptSubmitted = 2
Payee submitted proof of delivered work. Dispute window started.
Released = 3
Funds released to the payee’s launchpad account.
Refunded = 4
Funds refunded to the buyer.
Disputed = 5
Buyer opened a dispute during the window. Awaits admin resolution.
Implementations§
Trait Implementations§
Source§impl Clone for WorkOrderStatus
impl Clone for WorkOrderStatus
Source§fn clone(&self) -> WorkOrderStatus
fn clone(&self) -> WorkOrderStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 WorkOrderStatus
impl Debug for WorkOrderStatus
Source§impl PartialEq for WorkOrderStatus
impl PartialEq for WorkOrderStatus
Source§fn eq(&self, other: &WorkOrderStatus) -> bool
fn eq(&self, other: &WorkOrderStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for WorkOrderStatus
impl Eq for WorkOrderStatus
impl StructuralPartialEq for WorkOrderStatus
Auto Trait Implementations§
impl Freeze for WorkOrderStatus
impl RefUnwindSafe for WorkOrderStatus
impl Send for WorkOrderStatus
impl Sync for WorkOrderStatus
impl Unpin for WorkOrderStatus
impl UnsafeUnpin for WorkOrderStatus
impl UnwindSafe for WorkOrderStatus
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