pub struct DeclareTableRef(pub TableRef);
Tuple Fields§
§0: TableRef
Trait Implementations§
Source§impl Clone for DeclareTableRef
impl Clone for DeclareTableRef
Source§fn clone(&self) -> DeclareTableRef
fn clone(&self) -> DeclareTableRef
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl DataSet for DeclareTableRef
impl DataSet for DeclareTableRef
Source§fn qualified_columns() -> boolwhere
Self: Sized,
fn qualified_columns() -> boolwhere
Self: Sized,
Must qualify the column names with the table name
fn write_query( &self, writer: &dyn SqlWriter, context: &mut Context, buff: &mut String, )
fn select<'s, Item, Cols, Exec, Expr>(
&'s self,
columns: Cols,
executor: &'s mut Exec,
condition: &Expr,
limit: Option<u32>,
) -> impl Stream<Item = Result<RowLabeled>> + 'swhere
Self: Sized,
Item: Expression,
Cols: IntoIterator<Item = Item> + Clone,
Exec: Executor,
Expr: Expression,
fn prepare<Item, Cols, Exec, Expr>(
&self,
columns: Cols,
executor: &mut Exec,
condition: &Expr,
limit: Option<u32>,
) -> impl Future<Output = Result<Query<Exec::Driver>>>where
Self: Sized,
Item: Expression,
Cols: IntoIterator<Item = Item> + Clone,
Exec: Executor,
Expr: Expression,
Source§impl Debug for DeclareTableRef
impl Debug for DeclareTableRef
Source§impl Default for DeclareTableRef
impl Default for DeclareTableRef
Source§fn default() -> DeclareTableRef
fn default() -> DeclareTableRef
Returns the “default value” for a type. Read more
Source§impl PartialEq for DeclareTableRef
impl PartialEq for DeclareTableRef
Source§impl ToTokens for DeclareTableRef
impl ToTokens for DeclareTableRef
Source§fn to_tokens(&self, tokens: &mut TokenStream)
fn to_tokens(&self, tokens: &mut TokenStream)
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,
impl Eq for DeclareTableRef
impl StructuralPartialEq for DeclareTableRef
Auto Trait Implementations§
impl Freeze for DeclareTableRef
impl RefUnwindSafe for DeclareTableRef
impl Send for DeclareTableRef
impl Sync for DeclareTableRef
impl Unpin for DeclareTableRef
impl UnwindSafe for DeclareTableRef
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Spanned for Twhere
T: Spanned + ?Sized,
impl<T> Spanned for Twhere
T: Spanned + ?Sized,
Source§fn span(&self) -> Span
fn span(&self) -> Span
Returns a
Span
covering the complete contents of this syntax tree
node, or Span::call_site()
if this node is empty.