pub enum Source {
StandaloneStaffSale {
staff_id: StaffId,
},
ReservationCheckout {
reservation_id: Id,
},
ExternalPosReconciliation,
}Expand description
Source of the retail sale attempt, used to prevent unsupported POS or reservation mutations.
Variants§
StandaloneStaffSale
Standalone staff sale retail operational signal for inventory, POS, reorder, recommendation, or review handling.
ReservationCheckout
Reservation checkout retail operational signal for inventory, POS, reorder, recommendation, or review handling.
ExternalPosReconciliation
External pos reconciliation retail operational signal for inventory, POS, reorder, recommendation, or review handling.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Source
impl<'de> Deserialize<'de> for Source
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
impl Eq for Source
impl StructuralPartialEq for Source
Auto Trait Implementations§
impl Freeze for Source
impl RefUnwindSafe for Source
impl Send for Source
impl Sync for Source
impl Unpin for Source
impl UnsafeUnpin for Source
impl UnwindSafe for Source
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