#[non_exhaustive]pub enum SetOp {
Create(Id),
Update(Id),
Destroy(Id),
Restore(Id),
}Expand description
A change a SetScope could not commit.
Ids are the stored ids: a create carries the id the backend minted, which the dispatcher maps back to its creation id.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Create(Id)
The object created with this id.
Update(Id)
The update of this object.
Destroy(Id)
The destroy of this object.
Restore(Id)
The restore of this object (object history).
Trait Implementations§
impl Eq for SetOp
impl StructuralPartialEq for SetOp
Auto Trait Implementations§
impl Forget for SetOp
impl Freeze for SetOp
impl Move for SetOp
impl RefUnwindSafe for SetOp
impl Send for SetOp
impl Sync for SetOp
impl Unpin for SetOp
impl UnsafeUnpin for SetOp
impl UnwindSafe for SetOp
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