pub struct Constr {
pub primary_key: Option<bool>,
pub nullable: bool,
pub foreign_key: Option<ForeignKey>,
}Fields§
§primary_key: Option<bool>§nullable: bool§foreign_key: Option<ForeignKey>Trait Implementations§
Auto Trait Implementations§
impl Freeze for Constr
impl RefUnwindSafe for Constr
impl Send for Constr
impl Sync for Constr
impl Unpin for Constr
impl UnsafeUnpin for Constr
impl UnwindSafe for Constr
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