pub enum ConstraintMapper {
PrimaryKey,
}Expand description
ConstraintMapper exists to map to SqlType without imposing the cost of an empty version
This will exist until this RFC is brought back: https://github.com/rust-lang/rfcs/pull/2593
Variants§
PrimaryKey
Trait Implementations§
Source§impl Clone for ConstraintMapper
impl Clone for ConstraintMapper
Source§fn clone(&self) -> ConstraintMapper
fn clone(&self) -> ConstraintMapper
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ConstraintMapper
impl Debug for ConstraintMapper
Source§impl Display for ConstraintMapper
impl Display for ConstraintMapper
Source§impl PartialEq for ConstraintMapper
impl PartialEq for ConstraintMapper
impl StructuralPartialEq for ConstraintMapper
Auto Trait Implementations§
impl Freeze for ConstraintMapper
impl RefUnwindSafe for ConstraintMapper
impl Send for ConstraintMapper
impl Sync for ConstraintMapper
impl Unpin for ConstraintMapper
impl UnsafeUnpin for ConstraintMapper
impl UnwindSafe for ConstraintMapper
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