Struct postgres_protocol::types::Array
source · pub struct Array<'a> { /* private fields */ }
Expand description
A Postgres array.
Implementations§
source§impl<'a> Array<'a>
impl<'a> Array<'a>
sourcepub fn element_type(&self) -> Oid
pub fn element_type(&self) -> Oid
Returns the OID of the elements of the array.
sourcepub fn dimensions(&self) -> ArrayDimensions<'a>
pub fn dimensions(&self) -> ArrayDimensions<'a>
Returns an iterator over the dimensions of the array.
sourcepub fn values(&self) -> ArrayValues<'a>
pub fn values(&self) -> ArrayValues<'a>
Returns an iterator over the values of the array.
Auto Trait Implementations§
impl<'a> Freeze for Array<'a>
impl<'a> RefUnwindSafe for Array<'a>
impl<'a> Send for Array<'a>
impl<'a> Sync for Array<'a>
impl<'a> Unpin for Array<'a>
impl<'a> UnwindSafe for Array<'a>
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