pub enum AlterDomainAction {
AddConstraint {
name: Option<String>,
check: Expr,
},
DropConstraint {
name: String,
if_exists: bool,
},
SetDefault(Expr),
DropDefault,
SetNotNull,
DropNotNull,
RenameTo(String),
}Expand description
v7.39 (round 260) — the ALTER DOMAIN actions SPG implements.
Variants§
Trait Implementations§
Source§impl Clone for AlterDomainAction
impl Clone for AlterDomainAction
Source§fn clone(&self) -> AlterDomainAction
fn clone(&self) -> AlterDomainAction
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 AlterDomainAction
impl Debug for AlterDomainAction
Source§impl PartialEq for AlterDomainAction
impl PartialEq for AlterDomainAction
impl StructuralPartialEq for AlterDomainAction
Auto Trait Implementations§
impl Freeze for AlterDomainAction
impl RefUnwindSafe for AlterDomainAction
impl Send for AlterDomainAction
impl Sync for AlterDomainAction
impl Unpin for AlterDomainAction
impl UnsafeUnpin for AlterDomainAction
impl UnwindSafe for AlterDomainAction
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