pub enum UpdateType {
Put,
Patch,
Delete,
}Expand description
Type of local change.
Variants§
Put
Insert or replace a row. All non-null columns are included in the data.
Patch
Update a row if it exists. All updated columns are included in the data.
Delete
Delete a row if it exists.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for UpdateType
impl<'de> Deserialize<'de> for UpdateType
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
Auto Trait Implementations§
impl Freeze for UpdateType
impl RefUnwindSafe for UpdateType
impl Send for UpdateType
impl Sync for UpdateType
impl Unpin for UpdateType
impl UnsafeUnpin for UpdateType
impl UnwindSafe for UpdateType
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