Enum sea_query::query::ConditionExpression [−][src]
pub enum ConditionExpression { Condition(Condition), SimpleExpr(SimpleExpr), }
Expand description
Represents anything that can be passed to an Condition::any
or Condition::all
’s Condition::add
method.
The arguments are automatically converted to the right enum.
Variants
Condition(Condition)
SimpleExpr(SimpleExpr)
Trait Implementations
impl Clone for ConditionExpression
[src]
impl Clone for ConditionExpression
[src]fn clone(&self) -> ConditionExpression
[src]
fn clone(&self) -> ConditionExpression
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for ConditionExpression
[src]
impl Debug for ConditionExpression
[src]impl From<Condition> for ConditionExpression
[src]
impl From<Condition> for ConditionExpression
[src]impl From<SimpleExpr> for ConditionExpression
[src]
impl From<SimpleExpr> for ConditionExpression
[src]fn from(condition: SimpleExpr) -> Self
[src]
fn from(condition: SimpleExpr) -> Self
[src]Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for ConditionExpression
impl !Send for ConditionExpression
impl !Sync for ConditionExpression
impl Unpin for ConditionExpression
impl !UnwindSafe for ConditionExpression
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,