pub struct All<T>(/* private fields */);Expand description
Every column of one table, in declaration order — select(users::All).
The table’s own #[derive(Table)] supplies the chain through
AllColumns, so a selection list and the schema cannot drift apart, and
a whole table counts as one element of a tuple however many columns it
has.
Implementations§
Trait Implementations§
impl<T> Copy for All<T>
Source§impl<T: AllColumns, Scope, Idx> Selection<Scope, Idx> for All<T>where
T::Columns: ColumnList<Scope, Idx>,
impl<T: AllColumns, Scope, Idx> Selection<Scope, Idx> for All<T>where
T::Columns: ColumnList<Scope, Idx>,
Source§impl<T: AllColumns, Scope, Idx> SelectionPart<Scope, Idx> for All<T>where
T::Columns: ColumnList<Scope, Idx>,
impl<T: AllColumns, Scope, Idx> SelectionPart<Scope, Idx> for All<T>where
T::Columns: ColumnList<Scope, Idx>,
type Fields<Tail> = <<T as AllColumns>::Columns as ColumnList<Scope, Idx>>::Fields<Tail>
fn push_items(&self, out: &mut Vec<SelectItem>)
Auto Trait Implementations§
impl<T> Freeze for All<T>
impl<T> RefUnwindSafe for All<T>
impl<T> Send for All<T>
impl<T> Sync for All<T>
impl<T> Unpin for All<T>
impl<T> UnsafeUnpin for All<T>
impl<T> UnwindSafe for All<T>
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