pub struct InsertCapacity {
pub columns: usize,
pub rows: usize,
pub returning: usize,
}Expand description
Reserved capacities for the Vecs maintained by an InsertBuilder.
Fields§
§columns: usizeExpected number of insert columns.
rows: usizeExpected number of rows to insert.
returning: usizeExpected number of RETURNING columns.
Trait Implementations§
Source§impl Clone for InsertCapacity
impl Clone for InsertCapacity
Source§fn clone(&self) -> InsertCapacity
fn clone(&self) -> InsertCapacity
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 InsertCapacity
Source§impl Debug for InsertCapacity
impl Debug for InsertCapacity
Source§impl Default for InsertCapacity
impl Default for InsertCapacity
Source§fn default() -> InsertCapacity
fn default() -> InsertCapacity
Returns the “default value” for a type. Read more
impl Eq for InsertCapacity
Source§impl PartialEq for InsertCapacity
impl PartialEq for InsertCapacity
Source§fn eq(&self, other: &InsertCapacity) -> bool
fn eq(&self, other: &InsertCapacity) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for InsertCapacity
Auto Trait Implementations§
impl Freeze for InsertCapacity
impl RefUnwindSafe for InsertCapacity
impl Send for InsertCapacity
impl Sync for InsertCapacity
impl Unpin for InsertCapacity
impl UnsafeUnpin for InsertCapacity
impl UnwindSafe for InsertCapacity
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