Struct rorm_declaration::hmr::annotations::PrimaryKey
source · pub struct PrimaryKey;
Expand description
The annotated column will be used as primary key
Trait Implementations
sourceimpl AsImr for PrimaryKey
impl AsImr for PrimaryKey
type Imr = Annotation
type Imr = Annotation
Imr type to convert to
sourcefn as_imr(&self) -> Annotation
fn as_imr(&self) -> Annotation
Convert to imr type
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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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