[][src]Struct postgres_protocol::types::Array

pub struct Array<'a> { /* fields omitted */ }

A Postgres array.

Methods

impl<'a> Array<'a>[src]

pub fn has_nulls(&self) -> bool[src]

Returns true if there are NULL elements.

pub fn element_type(&self) -> Oid[src]

Returns the OID of the elements of the array.

pub fn dimensions(&self) -> ArrayDimensions<'a>[src]

Returns an iterator over the dimensions of the array.

pub fn values(&self) -> ArrayValues<'a>[src]

Returns an iterator over the values of the array.

Auto Trait Implementations

impl<'a> Send for Array<'a>

impl<'a> Sync for Array<'a>

impl<'a> Unpin for Array<'a>

impl<'a> UnwindSafe for Array<'a>

impl<'a> RefUnwindSafe for Array<'a>

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self