Skip to main content

List

Trait List 

Source
pub trait List: Expression { }
Expand description

Marker trait for expressions that represent lists of values

Used for IN and NOT IN clauses to ensure type safety.

Trait Implementations§

Source§

impl<'a> From<SelectQuery<'a>> for Box<dyn List + 'a>

Source§

fn from(val: SelectQuery<'a>) -> Box<dyn List + 'a>

Converts to this type from the input type.
Source§

impl<T> From<Vec<T>> for Box<dyn List>
where T: Into<Box<dyn Expression>> + Send + Sync,

Source§

fn from(val: Vec<T>) -> Box<dyn List>

Converts to this type from the input type.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§