pub enum KeyKind {
Primary,
Foreign,
Unique,
Candidate,
Composite,
}Expand description
Broad database key kind.
Variants§
Primary
Primary key metadata.
Foreign
Foreign key metadata.
Unique
Unique key metadata.
Candidate
Candidate key metadata.
Composite
Composite key metadata.
Trait Implementations§
Source§impl Ord for KeyKind
impl Ord for KeyKind
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for KeyKind
impl PartialOrd for KeyKind
impl Copy for KeyKind
impl Eq for KeyKind
impl StructuralPartialEq for KeyKind
Auto Trait Implementations§
impl Freeze for KeyKind
impl RefUnwindSafe for KeyKind
impl Send for KeyKind
impl Sync for KeyKind
impl Unpin for KeyKind
impl UnsafeUnpin for KeyKind
impl UnwindSafe for KeyKind
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