pub struct SelectCapacity {
pub items: usize,
pub joins: usize,
pub order_by_columns: usize,
pub order_by_exprs: usize,
pub group_by: usize,
pub distinct: usize,
}Expand description
Reserved capacities for the Vecs maintained by a SelectBuilder.
Fields§
§items: usizeExpected number of select-list items.
joins: usizeExpected number of JOIN clauses.
order_by_columns: usizeExpected number of column-based ORDER BY items.
order_by_exprs: usizeExpected number of expression-based ORDER BY items.
group_by: usizeExpected number of GROUP BY columns.
distinct: usizeExpected number of DISTINCT columns.
Trait Implementations§
Source§impl Clone for SelectCapacity
impl Clone for SelectCapacity
Source§fn clone(&self) -> SelectCapacity
fn clone(&self) -> SelectCapacity
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SelectCapacity
Source§impl Debug for SelectCapacity
impl Debug for SelectCapacity
Source§impl Default for SelectCapacity
impl Default for SelectCapacity
Source§fn default() -> SelectCapacity
fn default() -> SelectCapacity
Returns the “default value” for a type. Read more
impl Eq for SelectCapacity
Source§impl PartialEq for SelectCapacity
impl PartialEq for SelectCapacity
Source§fn eq(&self, other: &SelectCapacity) -> bool
fn eq(&self, other: &SelectCapacity) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SelectCapacity
Auto Trait Implementations§
impl Freeze for SelectCapacity
impl RefUnwindSafe for SelectCapacity
impl Send for SelectCapacity
impl Sync for SelectCapacity
impl Unpin for SelectCapacity
impl UnsafeUnpin for SelectCapacity
impl UnwindSafe for SelectCapacity
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