pub enum Trashed {
Without,
With,
Only,
}Expand description
Which records a query over a soft-deleting resource admits: the live ones, the trashed ones, or both.
On a resource that declares no soft_delete column, every
record is live, so Only admits none.
Variants§
Without
The live records only: what every list, form and record loader reads by default.
With
Live and trashed records alike.
Only
The trashed records only.
Implementations§
Trait Implementations§
impl Copy for Trashed
impl Eq for Trashed
impl StructuralPartialEq for Trashed
Auto Trait Implementations§
impl Freeze for Trashed
impl RefUnwindSafe for Trashed
impl Send for Trashed
impl Sync for Trashed
impl Unpin for Trashed
impl UnsafeUnpin for Trashed
impl UnwindSafe for Trashed
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<T> CloneAny for T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.