pub struct Array<I> { /* private fields */ }Expand description
A single-use adapter that binds an iterator as a PostgreSQL array.
The iterator is consumed on the first encode. Wrapping a Vec or slice is
unnecessary — those already implement ToSql as arrays.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<I> !Freeze for Array<I>
impl<I> RefUnwindSafe for Array<I>
impl<I> Send for Array<I>
impl<I> Sync for Array<I>
impl<I> Unpin for Array<I>
impl<I> UnsafeUnpin for Array<I>
impl<I> UnwindSafe for Array<I>
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