pub enum WriteMode<Key = i64> {
Create,
Update {
id: Key,
},
Patch {
id: Key,
},
}Variants§
Trait Implementations§
impl<Key: Copy> Copy for WriteMode<Key>
impl<Key: Eq> Eq for WriteMode<Key>
impl<Key: PartialEq> StructuralPartialEq for WriteMode<Key>
Auto Trait Implementations§
impl<Key> Forget for WriteMode<Key>
impl<Key> Freeze for WriteMode<Key>where
Key: Freeze,
impl<Key> Move for WriteMode<Key>
impl<Key> RefUnwindSafe for WriteMode<Key>where
Key: RefUnwindSafe,
impl<Key> Send for WriteMode<Key>where
Key: Send,
impl<Key> Sync for WriteMode<Key>where
Key: Sync,
impl<Key> Unpin for WriteMode<Key>where
Key: Unpin,
impl<Key> UnsafeUnpin for WriteMode<Key>where
Key: UnsafeUnpin,
impl<Key> UnwindSafe for WriteMode<Key>where
Key: UnwindSafe,
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