pub enum PrimaryKey {
Id,
}Available on crate feature
rbac only.Expand description
Generated by sea-orm-macros
Variantsยง
Id
Generated by sea-orm-macros
Trait Implementationsยง
Sourceยงimpl Clone for PrimaryKey
impl Clone for PrimaryKey
Sourceยงfn clone(&self) -> PrimaryKey
fn clone(&self) -> PrimaryKey
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 Debug for PrimaryKey
impl Debug for PrimaryKey
Sourceยงimpl Iden for PrimaryKey
impl Iden for PrimaryKey
Sourceยงimpl IdenStatic for PrimaryKey
impl IdenStatic for PrimaryKey
Sourceยงimpl IntoEnumIterator for PrimaryKey
impl IntoEnumIterator for PrimaryKey
type Iterator = PrimaryKeyIter
fn iter() -> PrimaryKeyIter โ
Sourceยงimpl PrimaryKeyToColumn for PrimaryKey
impl PrimaryKeyToColumn for PrimaryKey
Sourceยงimpl PrimaryKeyTrait for PrimaryKey
impl PrimaryKeyTrait for PrimaryKey
type ValueType = PermissionId
Sourceยงfn auto_increment() -> bool
fn auto_increment() -> bool
Method to call to perform
AUTOINCREMENT operation on a Primary Keyimpl Copy for PrimaryKey
Auto Trait Implementationsยง
impl Freeze for PrimaryKey
impl RefUnwindSafe for PrimaryKey
impl Send for PrimaryKey
impl Sync for PrimaryKey
impl Unpin for PrimaryKey
impl UnwindSafe for PrimaryKey
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 moreSourceยงimpl<T> IntoIdentity for Twhere
T: IdenStatic,
impl<T> IntoIdentity for Twhere
T: IdenStatic,
Sourceยงfn into_identity(self) -> Identity
fn into_identity(self) -> Identity
Method to perform the conversion