pub enum Column {
Id,
Name,
}
Variants
Id
Name
Trait Implementations
sourceimpl ColumnTrait for Column
impl ColumnTrait for Column
type EntityName = Entity
fn entity_name(&self) -> Arc<dyn Iden + 'static>
fn entity_name(&self) -> Arc<dyn Iden + 'static>
Get the name of the entity the column belongs to
fn as_column_ref(&self) -> (Arc<dyn Iden + 'static>, Arc<dyn Iden + 'static>)
fn as_column_ref(&self) -> (Arc<dyn Iden + 'static>, Arc<dyn Iden + 'static>)
get the name of the entity the column belongs to
fn eq<V>(&self, v: V) -> SimpleExpr where
V: Into<Value>,
fn ne<V>(&self, v: V) -> SimpleExpr where
V: Into<Value>,
fn gt<V>(&self, v: V) -> SimpleExpr where
V: Into<Value>,
fn gte<V>(&self, v: V) -> SimpleExpr where
V: Into<Value>,
fn lt<V>(&self, v: V) -> SimpleExpr where
V: Into<Value>,
fn lte<V>(&self, v: V) -> SimpleExpr where
V: Into<Value>,
fn between<V>(&self, a: V, b: V) -> SimpleExpr where
V: Into<Value>,
fn between<V>(&self, a: V, b: V) -> SimpleExpr where
V: Into<Value>,
fn not_between<V>(&self, a: V, b: V) -> SimpleExpr where
V: Into<Value>,
fn not_between<V>(&self, a: V, b: V) -> SimpleExpr where
V: Into<Value>,
fn like(&self, s: &str) -> SimpleExpr
fn like(&self, s: &str) -> SimpleExpr
fn not_like(&self, s: &str) -> SimpleExpr
fn not_like(&self, s: &str) -> SimpleExpr
fn starts_with(&self, s: &str) -> SimpleExpr
fn starts_with(&self, s: &str) -> SimpleExpr
fn ends_with(&self, s: &str) -> SimpleExpr
fn ends_with(&self, s: &str) -> SimpleExpr
fn contains(&self, s: &str) -> SimpleExpr
fn contains(&self, s: &str) -> SimpleExpr
fn max(&self) -> SimpleExpr
fn max(&self) -> SimpleExpr
See also SeaQuery’s method with same name.
fn min(&self) -> SimpleExpr
fn min(&self) -> SimpleExpr
See also SeaQuery’s method with same name.
fn sum(&self) -> SimpleExpr
fn sum(&self) -> SimpleExpr
See also SeaQuery’s method with same name.
fn count(&self) -> SimpleExpr
fn count(&self) -> SimpleExpr
See also SeaQuery’s method with same name.
fn is_null(&self) -> SimpleExpr
fn is_null(&self) -> SimpleExpr
See also SeaQuery’s method with same name.
fn is_not_null(&self) -> SimpleExpr
fn is_not_null(&self) -> SimpleExpr
See also SeaQuery’s method with same name.
fn if_null<V>(&self, v: V) -> SimpleExpr where
V: Into<Value>,
fn if_null<V>(&self, v: V) -> SimpleExpr where
V: Into<Value>,
Perform an operation if the column is null
fn is_in<V, I>(&self, v: I) -> SimpleExpr where
V: Into<Value>,
I: IntoIterator<Item = V>,
fn is_not_in<V, I>(&self, v: I) -> SimpleExpr where
V: Into<Value>,
I: IntoIterator<Item = V>,
fn in_subquery(&self, s: SelectStatement) -> SimpleExpr
fn not_in_subquery(&self, s: SelectStatement) -> SimpleExpr
sourceimpl IdenStatic for Column
impl IdenStatic for Column
sourceimpl IntoEnumIterator for Column
impl IntoEnumIterator for Column
type Iterator = ColumnIter
fn iter() -> ColumnIterⓘNotable traits for ColumnIterimpl Iterator for ColumnIter type Item = Column;
impl Copy for Column
Auto Trait Implementations
impl RefUnwindSafe for Column
impl Send for Column
impl Sync for Column
impl Unpin for Column
impl UnwindSafe for Column
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<E, C> IdentityOf<E> for C where
E: EntityTrait<Column = C>,
C: ColumnTrait,
impl<E, C> IdentityOf<E> for C where
E: EntityTrait<Column = C>,
C: ColumnTrait,
fn identity_of(self) -> Identity
fn identity_of(self) -> Identity
Method to call to perform this check
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
fn instrument(self, span: Span) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
T: Future, type Output = <T as Future>::Output;
sourcefn in_current_span(self) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
fn in_current_span(self) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
T: Future, type Output = <T as Future>::Output;
impl<T> IntoColumnRef for T where
T: 'static + IntoIden,
impl<T> IntoColumnRef for T where
T: 'static + IntoIden,
fn into_column_ref(self) -> ColumnRef
impl<T> IntoIdentity for T where
T: IdenStatic,
impl<T> IntoIdentity for T where
T: IdenStatic,
fn into_identity(self) -> Identity
fn into_identity(self) -> Identity
Method to perform the conversion
impl<I> IntoIndexColumn for I where
I: IntoIden,
impl<I> IntoIndexColumn for I where
I: IntoIden,
fn into_index_column(self) -> IndexColumn
impl<C> IntoSimpleExpr for C where
C: ColumnTrait,
impl<C> IntoSimpleExpr for C where
C: ColumnTrait,
fn into_simple_expr(self) -> SimpleExpr
fn into_simple_expr(self) -> SimpleExpr
Method to perform the conversion
impl<T> IntoTableRef for T where
T: 'static + IntoIden,
impl<T> IntoTableRef for T where
T: 'static + IntoIden,
fn into_table_ref(self) -> TableRef
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>ⓘNotable traits for WithDispatch<T>impl<T> Future for WithDispatch<T> where
T: Future, type Output = <T as Future>::Output;
where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>ⓘNotable traits for WithDispatch<T>impl<T> Future for WithDispatch<T> where
T: Future, type Output = <T as Future>::Output;
where
S: Into<Dispatch>,
T: Future, type Output = <T as Future>::Output;
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>ⓘNotable traits for WithDispatch<T>impl<T> Future for WithDispatch<T> where
T: Future, type Output = <T as Future>::Output;
fn with_current_subscriber(self) -> WithDispatch<Self>ⓘNotable traits for WithDispatch<T>impl<T> Future for WithDispatch<T> where
T: Future, type Output = <T as Future>::Output;
T: Future, type Output = <T as Future>::Output;
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more