pub struct GenericArrayColumn<E: EntityTrait>(pub E::Column);Tuple Fieldsยง
ยง0: E::ColumnImplementationsยง
Sourceยงimpl<E: EntityTrait> GenericArrayColumn<E>
impl<E: EntityTrait> GenericArrayColumn<E>
Sourcepub fn def(&self) -> ColumnDef
Available on crate feature postgres-array only.
pub fn def(&self) -> ColumnDef
postgres-array only.Get the column definition with SQL attributes
Sourcepub fn enum_type_name(&self) -> Option<&'static str>
Available on crate feature postgres-array only.
pub fn enum_type_name(&self) -> Option<&'static str>
postgres-array only.Get the enum type name if this is a enum column
Sourcepub fn entity_name(&self) -> DynIden
Available on crate feature postgres-array only.
pub fn entity_name(&self) -> DynIden
postgres-array only.Get the name of the entity the column belongs to
Sourcepub fn as_column_ref(&self) -> (DynIden, DynIden)
Available on crate feature postgres-array only.
pub fn as_column_ref(&self) -> (DynIden, DynIden)
postgres-array only.Get the table.column reference
Sourcepub fn eq<V, I>(&self, v: I) -> Expr
Available on crate feature postgres-array only.
pub fn eq<V, I>(&self, v: I) -> Expr
postgres-array only.Postgres only.
Sourcepub fn ne<V, I>(&self, v: I) -> Expr
Available on crate feature postgres-array only.
pub fn ne<V, I>(&self, v: I) -> Expr
postgres-array only.Postgres only.
Sourcepub fn contains<V, I>(&self, v: I) -> Expr
Available on crate feature postgres-array only.
pub fn contains<V, I>(&self, v: I) -> Expr
postgres-array only.Postgres only.
Sourcepub fn contained<V, I>(&self, v: I) -> Expr
Available on crate feature postgres-array only.
pub fn contained<V, I>(&self, v: I) -> Expr
postgres-array only.Postgres only.
Sourcepub fn overlap<V, I>(&self, v: I) -> Expr
Available on crate feature postgres-array only.
pub fn overlap<V, I>(&self, v: I) -> Expr
postgres-array only.Postgres only.
pub fn in_subquery(&self, s: SelectStatement) -> Expr
Available on crate feature
postgres-array only.pub fn not_in_subquery(&self, s: SelectStatement) -> Expr
Available on crate feature
postgres-array only.Trait Implementationsยง
Sourceยงimpl<E: Clone + EntityTrait> Clone for GenericArrayColumn<E>
impl<E: Clone + EntityTrait> Clone for GenericArrayColumn<E>
Sourceยงfn clone(&self) -> GenericArrayColumn<E>
fn clone(&self) -> GenericArrayColumn<E>
Returns a duplicate of the value. Read more
1.0.0 ยท Sourceยงfn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSourceยงimpl<E: Debug + EntityTrait> Debug for GenericArrayColumn<E>
impl<E: Debug + EntityTrait> Debug for GenericArrayColumn<E>
Sourceยงimpl<E: Hash + EntityTrait> Hash for GenericArrayColumn<E>
impl<E: Hash + EntityTrait> Hash for GenericArrayColumn<E>
Sourceยงimpl<E: EntityTrait> Iden for GenericArrayColumn<E>
impl<E: EntityTrait> Iden for GenericArrayColumn<E>
Sourceยงimpl<E: EntityTrait> IntoSimpleExpr for GenericArrayColumn<E>
impl<E: EntityTrait> IntoSimpleExpr for GenericArrayColumn<E>
Sourceยงfn into_simple_expr(self) -> Expr
fn into_simple_expr(self) -> Expr
Method to perform the conversion
Sourceยงimpl<E: PartialEq + EntityTrait> PartialEq for GenericArrayColumn<E>
impl<E: PartialEq + EntityTrait> PartialEq for GenericArrayColumn<E>
impl<E: Copy + EntityTrait> Copy for GenericArrayColumn<E>
impl<E: Eq + EntityTrait> Eq for GenericArrayColumn<E>
impl<E: EntityTrait> StructuralPartialEq for GenericArrayColumn<E>
Auto Trait Implementationsยง
impl<E> Freeze for GenericArrayColumn<E>
impl<E> RefUnwindSafe for GenericArrayColumn<E>
impl<E> Send for GenericArrayColumn<E>
impl<E> Sync for GenericArrayColumn<E>
impl<E> Unpin for GenericArrayColumn<E>
impl<E> UnwindSafe for GenericArrayColumn<E>
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
Sourceยงimpl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Sourceยงimpl<T> Instrument for T
impl<T> Instrument for T
Sourceยงfn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Sourceยงfn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Sourceยงimpl<T> IntoColumnRef for T
impl<T> IntoColumnRef for T
fn into_column_ref(self) -> ColumnRef
Sourceยงimpl<T> IntoEither for T
impl<T> IntoEither for T
Sourceยงfn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSourceยงfn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more