pub struct SelectStatement {
pub distinct: bool,
pub select_clause: SelectClause,
pub from: KeyspaceQualifiedName,
pub where_clause: Option<WhereClause>,
pub group_by_clause: Option<GroupByClause>,
pub order_by_clause: Option<OrderByClause>,
pub per_partition_limit: Option<Limit>,
pub limit: Option<Limit>,
pub allow_filtering: bool,
pub bypass_cache: bool,
pub timeout: Option<DurationLiteral>,
}
Fields§
§distinct: bool
§select_clause: SelectClause
§from: KeyspaceQualifiedName
§where_clause: Option<WhereClause>
§group_by_clause: Option<GroupByClause>
§order_by_clause: Option<OrderByClause>
§per_partition_limit: Option<Limit>
§limit: Option<Limit>
§allow_filtering: bool
§bypass_cache: bool
§timeout: Option<DurationLiteral>
Trait Implementations§
Source§impl Clone for SelectStatement
impl Clone for SelectStatement
Source§fn clone(&self) -> SelectStatement
fn clone(&self) -> SelectStatement
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'a> CustomToTokens<'a> for SelectStatement
impl<'a> CustomToTokens<'a> for SelectStatement
Source§impl Debug for SelectStatement
impl Debug for SelectStatement
Source§impl Display for SelectStatement
impl Display for SelectStatement
Source§impl From<SelectStatement> for DataManipulationStatement
impl From<SelectStatement> for DataManipulationStatement
Source§fn from(original: SelectStatement) -> DataManipulationStatement
fn from(original: SelectStatement) -> DataManipulationStatement
Converts to this type from the input type.
Source§impl From<SelectStatement> for Statement
impl From<SelectStatement> for Statement
Source§fn from(v: SelectStatement) -> Self
fn from(v: SelectStatement) -> Self
Converts to this type from the input type.
Source§impl FromStr for SelectStatement
impl FromStr for SelectStatement
Source§impl KeyspaceExt for SelectStatement
impl KeyspaceExt for SelectStatement
Source§impl Parse for SelectStatement
impl Parse for SelectStatement
type Output = SelectStatement
fn parse(s: &mut StatementStream<'_>) -> Result<Self::Output>
Source§impl PartialEq for SelectStatement
impl PartialEq for SelectStatement
Source§impl ToTokens for SelectStatement
impl ToTokens for SelectStatement
Source§fn to_token_stream(&self) -> TokenStream
fn to_token_stream(&self) -> TokenStream
Source§fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
Source§impl TryInto<SelectStatement> for Statement
impl TryInto<SelectStatement> for Statement
Source§impl WhereExt for SelectStatement
impl WhereExt for SelectStatement
impl Eq for SelectStatement
impl StructuralPartialEq for SelectStatement
Auto Trait Implementations§
impl Freeze for SelectStatement
impl RefUnwindSafe for SelectStatement
impl Send for SelectStatement
impl Sync for SelectStatement
impl Unpin for SelectStatement
impl UnwindSafe for SelectStatement
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