pub enum CollectionAccessExpression {
ListIndex(ColumnRef, Box<SelectExpression>),
MapKey(ColumnRef, Box<SelectExpression>),
SetContains(ColumnRef, Box<SelectExpression>),
}Expand description
Collection access operations
Variants§
ListIndex(ColumnRef, Box<SelectExpression>)
List element access: list[index]
MapKey(ColumnRef, Box<SelectExpression>)
Map value access: map[‘key’]
SetContains(ColumnRef, Box<SelectExpression>)
Set membership test: value IN set_column
Trait Implementations§
Source§impl Clone for CollectionAccessExpression
impl Clone for CollectionAccessExpression
Source§fn clone(&self) -> CollectionAccessExpression
fn clone(&self) -> CollectionAccessExpression
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 CollectionAccessExpression
impl Debug for CollectionAccessExpression
Source§impl<'de> Deserialize<'de> for CollectionAccessExpression
impl<'de> Deserialize<'de> for CollectionAccessExpression
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 CollectionAccessExpression
impl PartialEq for CollectionAccessExpression
Source§fn eq(&self, other: &CollectionAccessExpression) -> bool
fn eq(&self, other: &CollectionAccessExpression) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CollectionAccessExpression
Auto Trait Implementations§
impl Freeze for CollectionAccessExpression
impl RefUnwindSafe for CollectionAccessExpression
impl Send for CollectionAccessExpression
impl Sync for CollectionAccessExpression
impl Unpin for CollectionAccessExpression
impl UnsafeUnpin for CollectionAccessExpression
impl UnwindSafe for CollectionAccessExpression
Blanket Implementations§
impl<T> Allocation for T
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