pub enum ComparisonOperand {
Literal(Literal),
Set(Vec<Literal>),
}Expand description
Right-hand side of a comparison: either a single literal or a set (for IN).
Variants§
Literal(Literal)
A single literal value.
Set(Vec<Literal>)
A parenthesized set of literals (for IN).
Trait Implementations§
Source§impl Clone for ComparisonOperand
impl Clone for ComparisonOperand
Source§fn clone(&self) -> ComparisonOperand
fn clone(&self) -> ComparisonOperand
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 ComparisonOperand
impl Debug for ComparisonOperand
Source§impl<'de> Deserialize<'de> for ComparisonOperand
impl<'de> Deserialize<'de> for ComparisonOperand
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ComparisonOperand
impl PartialEq for ComparisonOperand
Source§fn eq(&self, other: &ComparisonOperand) -> bool
fn eq(&self, other: &ComparisonOperand) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ComparisonOperand
impl Serialize for ComparisonOperand
impl StructuralPartialEq for ComparisonOperand
Auto Trait Implementations§
impl Freeze for ComparisonOperand
impl RefUnwindSafe for ComparisonOperand
impl Send for ComparisonOperand
impl Sync for ComparisonOperand
impl Unpin for ComparisonOperand
impl UnsafeUnpin for ComparisonOperand
impl UnwindSafe for ComparisonOperand
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