pub struct ConstrType(pub i32);Expand description
The C enum ConstrType.
Tuple Fields§
§0: i32Implementations§
Source§impl ConstrType
impl ConstrType
pub const CONSTR_NULL: ConstrType
pub const CONSTR_NOTNULL: ConstrType
pub const CONSTR_DEFAULT: ConstrType
pub const CONSTR_IDENTITY: ConstrType
pub const CONSTR_GENERATED: ConstrType
pub const CONSTR_CHECK: ConstrType
pub const CONSTR_PRIMARY: ConstrType
pub const CONSTR_UNIQUE: ConstrType
pub const CONSTR_EXCLUSION: ConstrType
pub const CONSTR_FOREIGN: ConstrType
pub const CONSTR_ATTR_DEFERRABLE: ConstrType
pub const CONSTR_ATTR_NOT_DEFERRABLE: ConstrType
pub const CONSTR_ATTR_DEFERRED: ConstrType
pub const CONSTR_ATTR_IMMEDIATE: ConstrType
pub const CONSTR_ATTR_ENFORCED: ConstrType
pub const CONSTR_ATTR_NOT_ENFORCED: ConstrType
Trait Implementations§
Source§impl Clone for ConstrType
impl Clone for ConstrType
impl Copy for ConstrType
Source§impl Debug for ConstrType
impl Debug for ConstrType
Source§impl Default for ConstrType
impl Default for ConstrType
impl Eq for ConstrType
Source§impl Hash for ConstrType
impl Hash for ConstrType
Source§impl PartialEq for ConstrType
impl PartialEq for ConstrType
impl StructuralPartialEq for ConstrType
Auto Trait Implementations§
impl Freeze for ConstrType
impl RefUnwindSafe for ConstrType
impl Send for ConstrType
impl Sync for ConstrType
impl Unpin for ConstrType
impl UnsafeUnpin for ConstrType
impl UnwindSafe for ConstrType
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