pub enum SqliteBinOper {
Match,
GetJsonField,
CastJsonField,
}
Expand description
Sqlite-specific binary operator.
Variants§
Match
MATCH
.
GetJsonField
->
. Retrieves JSON field as JSON value.
CastJsonField
->>
. Retrieves JSON field and casts it to an appropriate SQL type.
Trait Implementations§
§impl Clone for SqliteBinOper
impl Clone for SqliteBinOper
§fn clone(&self) -> SqliteBinOper
fn clone(&self) -> SqliteBinOper
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 more§impl Debug for SqliteBinOper
impl Debug for SqliteBinOper
§impl From<SqliteBinOper> for BinOper
impl From<SqliteBinOper> for BinOper
§fn from(o: SqliteBinOper) -> BinOper
fn from(o: SqliteBinOper) -> BinOper
Converts to this type from the input type.
§impl PartialEq<SqliteBinOper> for SqliteBinOper
impl PartialEq<SqliteBinOper> for SqliteBinOper
§fn eq(&self, other: &SqliteBinOper) -> bool
fn eq(&self, other: &SqliteBinOper) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SqliteBinOper
impl Eq for SqliteBinOper
impl StructuralEq for SqliteBinOper
impl StructuralPartialEq for SqliteBinOper
Auto Trait Implementations§
impl RefUnwindSafe for SqliteBinOper
impl Send for SqliteBinOper
impl Sync for SqliteBinOper
impl Unpin for SqliteBinOper
impl UnwindSafe for SqliteBinOper
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.