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