pub enum ModelAction {
Show 19 variants
FindUnique,
FindUniqueOrThrow,
FindFirst,
FindFirstOrThrow,
FindMany,
Create,
CreateMany,
CreateManyAndReturn,
Update,
UpdateMany,
UpdateManyAndReturn,
Upsert,
Delete,
DeleteMany,
GroupBy,
Count,
Aggregate,
FindRaw,
AggregateRaw,
}Variants§
FindUnique
FindUniqueOrThrow
FindFirst
FindFirstOrThrow
FindMany
Create
CreateMany
CreateManyAndReturn
Update
UpdateMany
UpdateManyAndReturn
Upsert
Delete
DeleteMany
GroupBy
Count
Unused
Aggregate
FindRaw
AggregateRaw
Trait Implementations§
Source§impl Clone for ModelAction
impl Clone for ModelAction
Source§fn clone(&self) -> ModelAction
fn clone(&self) -> ModelAction
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ModelAction
impl Debug for ModelAction
Source§impl<'de> Deserialize<'de> for ModelAction
impl<'de> Deserialize<'de> for ModelAction
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
Source§impl PartialEq for ModelAction
impl PartialEq for ModelAction
Source§impl Serialize for ModelAction
impl Serialize for ModelAction
impl Eq for ModelAction
impl StructuralPartialEq for ModelAction
Auto Trait Implementations§
impl Freeze for ModelAction
impl RefUnwindSafe for ModelAction
impl Send for ModelAction
impl Sync for ModelAction
impl Unpin for ModelAction
impl UnwindSafe for ModelAction
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