Struct scylladb_parse::SelectStatement
source · [−]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: boolselect_clause: SelectClausefrom: KeyspaceQualifiedNamewhere_clause: Option<WhereClause>group_by_clause: Option<GroupByClause>order_by_clause: Option<OrderByClause>per_partition_limit: Option<Limit>limit: Option<Limit>allow_filtering: boolbypass_cache: booltimeout: Option<DurationLiteral>Trait Implementations
sourceimpl Clone for SelectStatement
impl Clone for SelectStatement
sourcefn clone(&self) -> SelectStatement
fn clone(&self) -> SelectStatement
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl<'a> CustomToTokens<'a> for SelectStatement
impl<'a> CustomToTokens<'a> for SelectStatement
fn to_tokens(&'a self, tokens: &mut TokenStream)
sourceimpl Debug for SelectStatement
impl Debug for SelectStatement
sourceimpl Display for SelectStatement
impl Display for SelectStatement
sourceimpl From<SelectStatement> for DataManipulationStatement
impl From<SelectStatement> for DataManipulationStatement
sourcefn from(original: SelectStatement) -> DataManipulationStatement
fn from(original: SelectStatement) -> DataManipulationStatement
Converts to this type from the input type.
sourceimpl From<SelectStatement> for Statement
impl From<SelectStatement> for Statement
sourcefn from(v: SelectStatement) -> Self
fn from(v: SelectStatement) -> Self
Converts to this type from the input type.
sourceimpl FromStr for SelectStatement
impl FromStr for SelectStatement
sourceimpl KeyspaceExt for SelectStatement
impl KeyspaceExt for SelectStatement
fn get_keyspace(&self) -> Option<String>
fn set_keyspace(&mut self, keyspace: impl Into<Name>)
fn with_keyspace(self, keyspace: impl Into<Name>) -> Self where
Self: Sized,
sourceimpl Parse for SelectStatement
impl Parse for SelectStatement
type Output = SelectStatement
fn parse(s: &mut StatementStream<'_>) -> Result<Self::Output>
sourceimpl PartialEq<SelectStatement> for SelectStatement
impl PartialEq<SelectStatement> for SelectStatement
sourcefn eq(&self, other: &SelectStatement) -> bool
fn eq(&self, other: &SelectStatement) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &SelectStatement) -> bool
fn ne(&self, other: &SelectStatement) -> bool
This method tests for !=.
sourceimpl ToTokens for SelectStatement
impl ToTokens for SelectStatement
sourcefn to_tokens(&self, tokens: &mut TokenStream)
fn to_tokens(&self, tokens: &mut TokenStream)
Write self to the given TokenStream. Read more
sourcefn to_token_stream(&self) -> TokenStream
fn to_token_stream(&self) -> TokenStream
Convert self directly into a TokenStream object. Read more
sourcefn into_token_stream(self) -> TokenStream
fn into_token_stream(self) -> TokenStream
Convert self directly into a TokenStream object. Read more
sourceimpl TryInto<SelectStatement> for Statement
impl TryInto<SelectStatement> for Statement
sourceimpl WhereExt for SelectStatement
impl WhereExt for SelectStatement
fn iter_where(&self) -> Option<Iter<'_, Relation>>
impl Eq for SelectStatement
impl StructuralEq for SelectStatement
impl StructuralPartialEq for SelectStatement
Auto Trait Implementations
impl RefUnwindSafe for SelectStatement
impl Send for SelectStatement
impl Sync for SelectStatement
impl Unpin for SelectStatement
impl UnwindSafe for SelectStatement
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more