pub struct DeleteQuery {
pub from: TableRef,
pub predicate: Option<Predicate>,
pub allow_all_rows: bool,
}Fields§
§from: TableRef§predicate: Option<Predicate>§allow_all_rows: boolImplementations§
Source§impl DeleteQuery
impl DeleteQuery
pub fn from_entity<E: Entity>() -> Self
pub fn filter(self, predicate: Predicate) -> Self
pub const fn allow_all_rows(self) -> Self
Trait Implementations§
Source§impl Clone for DeleteQuery
impl Clone for DeleteQuery
Source§fn clone(&self) -> DeleteQuery
fn clone(&self) -> DeleteQuery
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DeleteQuery
impl Debug for DeleteQuery
Source§impl PartialEq for DeleteQuery
impl PartialEq for DeleteQuery
Source§fn eq(&self, other: &DeleteQuery) -> bool
fn eq(&self, other: &DeleteQuery) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DeleteQuery
Auto Trait Implementations§
impl Freeze for DeleteQuery
impl RefUnwindSafe for DeleteQuery
impl Send for DeleteQuery
impl Sync for DeleteQuery
impl Unpin for DeleteQuery
impl UnsafeUnpin for DeleteQuery
impl UnwindSafe for DeleteQuery
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