pub struct StringColumnNullable<E: EntityTrait>(pub E::Column);Tuple Fieldsยง
ยง0: E::ColumnImplementationsยง
Sourceยงimpl<E: EntityTrait> StringColumnNullable<E>
impl<E: EntityTrait> StringColumnNullable<E>
Sourcepub fn enum_type_name(&self) -> Option<&'static str>
pub fn enum_type_name(&self) -> Option<&'static str>
Get the enum type name if this is a enum column
Sourcepub fn entity_name(&self) -> DynIden
pub fn entity_name(&self) -> DynIden
Get the name of the entity the column belongs to
Sourcepub fn as_column_ref(&self) -> (DynIden, DynIden)
pub fn as_column_ref(&self) -> (DynIden, DynIden)
Get the table.column reference
pub fn eq<V>(&self, v: V) -> Expr
pub fn ne<V>(&self, v: V) -> Expr
pub fn gt<V>(&self, v: V) -> Expr
pub fn gte<V>(&self, v: V) -> Expr
pub fn lt<V>(&self, v: V) -> Expr
pub fn lte<V>(&self, v: V) -> Expr
pub fn between<V>(&self, v1: V, v2: V) -> Expr
pub fn not_between<V>(&self, v1: V, v2: V) -> Expr
pub fn like<V>(&self, v: V) -> Expr
pub fn not_like<V>(&self, v: V) -> Expr
pub fn ilike<V>(&self, v: V) -> Expr
pub fn not_ilike<V>(&self, v: V) -> Expr
pub fn starts_with<V>(&self, v: V) -> Expr
pub fn ends_with<V>(&self, v: V) -> Expr
pub fn contains<V>(&self, v: V) -> Expr
pub fn count(&self) -> Expr
pub fn is_null(&self) -> Expr
pub fn is_not_null(&self) -> Expr
pub fn if_null<V>(&self, v: V) -> Expr
pub fn is_in<V, I>(&self, v: I) -> Expr
pub fn is_not_in<V, I>(&self, v: I) -> Expr
Sourcepub fn eq_any<V, I>(&self, v: I) -> Expr
Available on crate feature postgres-array only.
pub fn eq_any<V, I>(&self, v: I) -> Expr
postgres-array only.= ANY(..) operator. Postgres only.
pub fn in_subquery(&self, s: SelectStatement) -> Expr
pub fn not_in_subquery(&self, s: SelectStatement) -> Expr
Trait Implementationsยง
Sourceยงimpl<E: Clone + EntityTrait> Clone for StringColumnNullable<E>
impl<E: Clone + EntityTrait> Clone for StringColumnNullable<E>
Sourceยงfn clone(&self) -> StringColumnNullable<E>
fn clone(&self) -> StringColumnNullable<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 StringColumnNullable<E>
impl<E: Debug + EntityTrait> Debug for StringColumnNullable<E>
Sourceยงimpl<E: Hash + EntityTrait> Hash for StringColumnNullable<E>
impl<E: Hash + EntityTrait> Hash for StringColumnNullable<E>
Sourceยงimpl<E: EntityTrait> Iden for StringColumnNullable<E>
impl<E: EntityTrait> Iden for StringColumnNullable<E>
Sourceยงimpl<E: EntityTrait> IntoSimpleExpr for StringColumnNullable<E>
impl<E: EntityTrait> IntoSimpleExpr for StringColumnNullable<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 StringColumnNullable<E>
impl<E: PartialEq + EntityTrait> PartialEq for StringColumnNullable<E>
impl<E: Copy + EntityTrait> Copy for StringColumnNullable<E>
impl<E: Eq + EntityTrait> Eq for StringColumnNullable<E>
impl<E: EntityTrait> StructuralPartialEq for StringColumnNullable<E>
Auto Trait Implementationsยง
impl<E> Freeze for StringColumnNullable<E>
impl<E> RefUnwindSafe for StringColumnNullable<E>
impl<E> Send for StringColumnNullable<E>
impl<E> Sync for StringColumnNullable<E>
impl<E> Unpin for StringColumnNullable<E>
impl<E> UnwindSafe for StringColumnNullable<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