Struct diesel::pg::types::sql_types::Array [] [src]

pub struct Array<ST>(_);

The Array SQL type.

This wraps another type to represent a SQL array of that type. Multidimensional arrays are not supported, nor are arrays containing null.

ToSql impls

  • Vec<T> for any T which implements ToSql<ST>
  • &[T] for any T which implements ToSql<ST>

FromSql impls

  • Vec<T> for any T which implements ToSql<ST>

Trait Implementations

impl<T: SqlOrd> SqlOrd for Array<T>
[src]

impl<T> NotNull for Array<T>
[src]

impl<T> SingleValue for Array<T>
[src]

impl<ST: Debug> Debug for Array<ST>
[src]

[src]

Formats the value using the given formatter.

impl<ST: Clone> Clone for Array<ST>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<ST: Copy> Copy for Array<ST>
[src]

impl<ST: Default> Default for Array<ST>
[src]

[src]

Returns the "default value" for a type. Read more