pub enum PrimaryKey {
Version,
}
Variants
Version
Trait Implementations
sourceimpl Clone for PrimaryKey
impl Clone for PrimaryKey
sourcefn clone(&self) -> PrimaryKey
fn clone(&self) -> PrimaryKey
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for PrimaryKey
impl Debug for PrimaryKey
sourceimpl Iden for PrimaryKey
impl Iden for PrimaryKey
sourceimpl IdenStatic for PrimaryKey
impl IdenStatic for PrimaryKey
sourceimpl IntoEnumIterator for PrimaryKey
impl IntoEnumIterator for PrimaryKey
type Iterator = PrimaryKeyIter
fn iter() -> PrimaryKeyIterⓘNotable traits for PrimaryKeyIterimpl Iterator for PrimaryKeyIter type Item = PrimaryKey;
sourceimpl PrimaryKeyToColumn for PrimaryKey
impl PrimaryKeyToColumn for PrimaryKey
type Column = Column
sourcefn into_column(self) -> Self::Column
fn into_column(self) -> Self::Column
Method to map a primary key to a column in an Entity
sourcefn from_column(col: Self::Column) -> Option<Self>
fn from_column(col: Self::Column) -> Option<Self>
Method to map a primary key from a column in an Entity
sourceimpl PrimaryKeyTrait for PrimaryKey
impl PrimaryKeyTrait for PrimaryKey
type ValueType = String
sourcefn auto_increment() -> bool
fn auto_increment() -> bool
Method to call to perform AUTOINCREMENT
operation on a Primary Kay
impl Copy for PrimaryKey
Auto Trait Implementations
impl RefUnwindSafe for PrimaryKey
impl Send for PrimaryKey
impl Sync for PrimaryKey
impl Unpin for PrimaryKey
impl UnwindSafe for PrimaryKey
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<T> IntoColumnRef for T where
T: 'static + IntoIden,
impl<T> IntoColumnRef for T where
T: 'static + IntoIden,
fn into_column_ref(self) -> ColumnRef
sourceimpl<T> IntoIdentity for T where
T: IdenStatic,
impl<T> IntoIdentity for T where
T: IdenStatic,
sourcefn 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<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)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more