pub struct CqlSelect {
pub distinct: bool,
pub select_list: Vec<CqlSelectItem>,
pub from: CqlTable,
pub where_clause: Option<CqlExpression>,
pub order_by: Option<Vec<CqlOrderBy>>,
pub limit: Option<u64>,
pub allow_filtering: bool,
}Expand description
SELECT statement AST
Fields§
§distinct: boolDISTINCT modifier
select_list: Vec<CqlSelectItem>Selected columns/expressions
from: CqlTableFROM clause
where_clause: Option<CqlExpression>WHERE clause (optional)
order_by: Option<Vec<CqlOrderBy>>ORDER BY clause (optional)
limit: Option<u64>LIMIT clause (optional)
allow_filtering: boolALLOW FILTERING modifier
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CqlSelect
impl<'de> Deserialize<'de> for CqlSelect
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
impl StructuralPartialEq for CqlSelect
Auto Trait Implementations§
impl Freeze for CqlSelect
impl RefUnwindSafe for CqlSelect
impl Send for CqlSelect
impl Sync for CqlSelect
impl Unpin for CqlSelect
impl UnsafeUnpin for CqlSelect
impl UnwindSafe for CqlSelect
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