[−][src]Struct diesel::pg::types::sql_types::Array
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
FromSql
impls
Vec<T>
for anyT
which implementsToSql<ST>
Trait Implementations
impl<'a, 'b, ST, T> AsExpression<Array<ST>> for &'a [T]
[src]
type Expression = Bound<Array<ST>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
impl<'a, 'b, ST, T> AsExpression<Array<ST>> for &'a &'b [T]
[src]
type Expression = Bound<Array<ST>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
impl<'a, 'b, ST, T> AsExpression<Array<ST>> for Vec<T>
[src]
type Expression = Bound<Array<ST>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
impl<'a, 'b, ST, T> AsExpression<Array<ST>> for &'a Vec<T>
[src]
type Expression = Bound<Array<ST>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
impl<'a, 'b, ST, T> AsExpression<Array<ST>> for &'a &'b Vec<T>
[src]
type Expression = Bound<Array<ST>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
impl<ST: Clone> Clone for Array<ST>
[src]
impl<ST: Copy> Copy for Array<ST>
[src]
impl<ST: Debug> Debug for Array<ST>
[src]
impl<ST: Default> Default for Array<ST>
[src]
impl<T, ST> FromSql<Array<ST>, Pg> for Vec<T> where
T: FromSql<ST, Pg>,
[src]
T: FromSql<ST, Pg>,
impl<T> HasSqlType<Array<T>> for Pg where
Pg: HasSqlType<T>,
[src]
Pg: HasSqlType<T>,
fn metadata(lookup: &PgMetadataLookup) -> PgTypeMetadata
[src]
impl<ST> NotNull for Array<ST>
[src]
impl<ST: QueryId> QueryId for Array<ST>
[src]
type QueryId = Array<<ST as QueryId>::QueryId>
A type which uniquely represents Self
in a SQL query. Read more
const HAS_STATIC_QUERY_ID: bool
[src]
fn query_id() -> Option<TypeId>
[src]
impl<ST> SingleValue for Array<ST>
[src]
impl<T: SqlOrd> SqlOrd for Array<T>
[src]
impl<ST, T> ToSql<Array<ST>, Pg> for [T] where
Pg: HasSqlType<ST>,
T: ToSql<ST, Pg>,
[src]
Pg: HasSqlType<ST>,
T: ToSql<ST, Pg>,
impl<ST, T> ToSql<Array<ST>, Pg> for Vec<T> where
[T]: ToSql<Array<ST>, Pg>,
T: Debug,
[src]
[T]: ToSql<Array<ST>, Pg>,
T: Debug,
Auto Trait Implementations
impl<ST> RefUnwindSafe for Array<ST> where
ST: RefUnwindSafe,
ST: RefUnwindSafe,
impl<ST> Send for Array<ST> where
ST: Send,
ST: Send,
impl<ST> Sync for Array<ST> where
ST: Sync,
ST: Sync,
impl<ST> Unpin for Array<ST> where
ST: Unpin,
ST: Unpin,
impl<ST> UnwindSafe for Array<ST> where
ST: UnwindSafe,
ST: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> IntoNullable for T where
T: NotNull,
[src]
T: NotNull,
impl<T> IntoSql for T
[src]
fn into_sql<T>(self) -> AsExprOf<Self, T> where
Self: AsExpression<T> + Sized,
[src]
Self: AsExpression<T> + Sized,
fn as_sql<'a, T>(&'a self) -> AsExprOf<&'a Self, T> where
&'a Self: AsExpression<T>,
[src]
&'a Self: AsExpression<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,