pub enum Delta {
Account(Account),
Pending(PendingReservation),
}Expand description
A single state mutation the commit loop must apply atomically.
Variants§
Account(Account)
Upsert an account row (keyed by account.id).
Pending(PendingReservation)
Upsert a pending reservation row (keyed by reservation.transfer.id).
Trait Implementations§
impl Eq for Delta
impl StructuralPartialEq for Delta
Auto Trait Implementations§
impl Freeze for Delta
impl RefUnwindSafe for Delta
impl Send for Delta
impl Sync for Delta
impl Unpin for Delta
impl UnsafeUnpin for Delta
impl UnwindSafe for Delta
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