pub struct DomainDef {
pub name: QualifiedName,
pub base_type: PgType,
pub not_null: bool,
pub default: Option<Expr>,
pub check: Option<Expr>,
}Expand description
A CREATE DOMAIN statement.
Fields§
§name: QualifiedName§base_type: PgType§not_null: bool§default: Option<Expr>§check: Option<Expr>Trait Implementations§
Auto Trait Implementations§
impl Freeze for DomainDef
impl RefUnwindSafe for DomainDef
impl Send for DomainDef
impl Sync for DomainDef
impl Unpin for DomainDef
impl UnsafeUnpin for DomainDef
impl UnwindSafe for DomainDef
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