pub struct WhereDelete {
pub query_type: DeleteProps,
pub clause: String,
}
Fields§
§query_type: DeleteProps
§clause: String
Implementations§
Trait Implementations§
Source§impl Debug for WhereDelete
impl Debug for WhereDelete
Source§impl WhereClauseBuilder for WhereDelete
impl WhereClauseBuilder for WhereDelete
Source§fn and<T: ToSQLData>(self, column: &str, values: Vec<T>) -> Self
fn and<T: ToSQLData>(self, column: &str, values: Vec<T>) -> Self
Adds an ‘AND’ to a WHERE clause. Read more
Source§fn or<T: ToSQLData>(self, column: &str, values: Vec<T>) -> Self
fn or<T: ToSQLData>(self, column: &str, values: Vec<T>) -> Self
Adds a ‘OR’ to a WHERE clause. Read more
Source§fn and_not<T: ToSQLData>(self, column: &str, values: Vec<T>) -> Self
fn and_not<T: ToSQLData>(self, column: &str, values: Vec<T>) -> Self
Adds an ‘AND NOT’ to a WHERE clause. Read more
Source§fn or_not<T: ToSQLData>(self, column: &str, values: Vec<T>) -> Self
fn or_not<T: ToSQLData>(self, column: &str, values: Vec<T>) -> Self
Adds a ‘OR NOT’ to a WHERE clause. Read more
Source§fn and_not_null(self, column: &str) -> Self
fn and_not_null(self, column: &str) -> Self
AND IS NOT NULL
Source§fn or_not_null(self, column: &str) -> Self
fn or_not_null(self, column: &str) -> Self
OR IS NOT NULL
Auto Trait Implementations§
impl Freeze for WhereDelete
impl RefUnwindSafe for WhereDelete
impl Send for WhereDelete
impl Sync for WhereDelete
impl Unpin for WhereDelete
impl UnwindSafe for WhereDelete
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more