pub enum WhereCondition {
And,
Or,
}
Expand description
Where Condition (AND, OR)
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for WhereCondition
impl Clone for WhereCondition
Source§fn clone(&self) -> WhereCondition
fn clone(&self) -> WhereCondition
Returns a copy 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 WhereCondition
impl Debug for WhereCondition
Source§impl Default for WhereCondition
impl Default for WhereCondition
Source§fn default() -> WhereCondition
fn default() -> WhereCondition
Returns the “default value” for a type. Read more
Source§impl ToSqlite for WhereCondition
impl ToSqlite for WhereCondition
Source§fn on_create(&self, query: &QueryBuilder) -> Result<String, Error>
fn on_create(&self, query: &QueryBuilder) -> Result<String, Error>
Convert to SQLite for creating a table
Source§fn on_select(&self, query: &QueryBuilder) -> Result<String, Error>
fn on_select(&self, query: &QueryBuilder) -> Result<String, Error>
Convert to SQLite for selecting a row
Source§fn on_insert(&self, query: &QueryBuilder) -> Result<(String, Values), Error>
fn on_insert(&self, query: &QueryBuilder) -> Result<(String, Values), Error>
Convert to SQLite for inserting a row
Source§fn on_update(&self, query: &QueryBuilder) -> Result<(String, Values), Error>
fn on_update(&self, query: &QueryBuilder) -> Result<(String, Values), Error>
Convert to SQLite for updating a row
Auto Trait Implementations§
impl Freeze for WhereCondition
impl RefUnwindSafe for WhereCondition
impl Send for WhereCondition
impl Sync for WhereCondition
impl Unpin for WhereCondition
impl UnwindSafe for WhereCondition
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request