#[repr(i32)]pub enum AlterTableType {
Show 68 variants
Undefined = 0,
AtAddColumn = 1,
AtAddColumnRecurse = 2,
AtAddColumnToView = 3,
AtColumnDefault = 4,
AtCookedColumnDefault = 5,
AtDropNotNull = 6,
AtSetNotNull = 7,
AtDropExpression = 8,
AtCheckNotNull = 9,
AtSetStatistics = 10,
AtSetOptions = 11,
AtResetOptions = 12,
AtSetStorage = 13,
AtDropColumn = 14,
AtDropColumnRecurse = 15,
AtAddIndex = 16,
AtReAddIndex = 17,
AtAddConstraint = 18,
AtAddConstraintRecurse = 19,
AtReAddConstraint = 20,
AtReAddDomainConstraint = 21,
AtAlterConstraint = 22,
AtValidateConstraint = 23,
AtValidateConstraintRecurse = 24,
AtAddIndexConstraint = 25,
AtDropConstraint = 26,
AtDropConstraintRecurse = 27,
AtReAddComment = 28,
AtAlterColumnType = 29,
AtAlterColumnGenericOptions = 30,
AtChangeOwner = 31,
AtClusterOn = 32,
AtDropCluster = 33,
AtSetLogged = 34,
AtSetUnLogged = 35,
AtDropOids = 36,
AtSetTableSpace = 37,
AtSetRelOptions = 38,
AtResetRelOptions = 39,
AtReplaceRelOptions = 40,
AtEnableTrig = 41,
AtEnableAlwaysTrig = 42,
AtEnableReplicaTrig = 43,
AtDisableTrig = 44,
AtEnableTrigAll = 45,
AtDisableTrigAll = 46,
AtEnableTrigUser = 47,
AtDisableTrigUser = 48,
AtEnableRule = 49,
AtEnableAlwaysRule = 50,
AtEnableReplicaRule = 51,
AtDisableRule = 52,
AtAddInherit = 53,
AtDropInherit = 54,
AtAddOf = 55,
AtDropOf = 56,
AtReplicaIdentity = 57,
AtEnableRowSecurity = 58,
AtDisableRowSecurity = 59,
AtForceRowSecurity = 60,
AtNoForceRowSecurity = 61,
AtGenericOptions = 62,
AtAttachPartition = 63,
AtDetachPartition = 64,
AtAddIdentity = 65,
AtSetIdentity = 66,
AtDropIdentity = 67,
}
Variants§
Undefined = 0
AtAddColumn = 1
AtAddColumnRecurse = 2
AtAddColumnToView = 3
AtColumnDefault = 4
AtCookedColumnDefault = 5
AtDropNotNull = 6
AtSetNotNull = 7
AtDropExpression = 8
AtCheckNotNull = 9
AtSetStatistics = 10
AtSetOptions = 11
AtResetOptions = 12
AtSetStorage = 13
AtDropColumn = 14
AtDropColumnRecurse = 15
AtAddIndex = 16
AtReAddIndex = 17
AtAddConstraint = 18
AtAddConstraintRecurse = 19
AtReAddConstraint = 20
AtReAddDomainConstraint = 21
AtAlterConstraint = 22
AtValidateConstraint = 23
AtValidateConstraintRecurse = 24
AtAddIndexConstraint = 25
AtDropConstraint = 26
AtDropConstraintRecurse = 27
AtReAddComment = 28
AtAlterColumnType = 29
AtAlterColumnGenericOptions = 30
AtChangeOwner = 31
AtClusterOn = 32
AtDropCluster = 33
AtSetLogged = 34
AtSetUnLogged = 35
AtDropOids = 36
AtSetTableSpace = 37
AtSetRelOptions = 38
AtResetRelOptions = 39
AtReplaceRelOptions = 40
AtEnableTrig = 41
AtEnableAlwaysTrig = 42
AtEnableReplicaTrig = 43
AtDisableTrig = 44
AtEnableTrigAll = 45
AtDisableTrigAll = 46
AtEnableTrigUser = 47
AtDisableTrigUser = 48
AtEnableRule = 49
AtEnableAlwaysRule = 50
AtEnableReplicaRule = 51
AtDisableRule = 52
AtAddInherit = 53
AtDropInherit = 54
AtAddOf = 55
AtDropOf = 56
AtReplicaIdentity = 57
AtEnableRowSecurity = 58
AtDisableRowSecurity = 59
AtForceRowSecurity = 60
AtNoForceRowSecurity = 61
AtGenericOptions = 62
AtAttachPartition = 63
AtDetachPartition = 64
AtAddIdentity = 65
AtSetIdentity = 66
AtDropIdentity = 67
Implementations§
Trait Implementations§
Source§impl Clone for AlterTableType
impl Clone for AlterTableType
Source§fn clone(&self) -> AlterTableType
fn clone(&self) -> AlterTableType
Returns a duplicate of the value. Read more
1.0.0 · 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 AlterTableType
impl Debug for AlterTableType
Source§impl Default for AlterTableType
impl Default for AlterTableType
Source§fn default() -> AlterTableType
fn default() -> AlterTableType
Returns the “default value” for a type. Read more
Source§impl From<AlterTableType> for i32
impl From<AlterTableType> for i32
Source§fn from(value: AlterTableType) -> i32
fn from(value: AlterTableType) -> i32
Converts to this type from the input type.
Source§impl Hash for AlterTableType
impl Hash for AlterTableType
Source§impl Ord for AlterTableType
impl Ord for AlterTableType
Source§fn cmp(&self, other: &AlterTableType) -> Ordering
fn cmp(&self, other: &AlterTableType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for AlterTableType
impl PartialEq for AlterTableType
Source§impl PartialOrd for AlterTableType
impl PartialOrd for AlterTableType
impl Copy for AlterTableType
impl Eq for AlterTableType
impl StructuralPartialEq for AlterTableType
Auto Trait Implementations§
impl Freeze for AlterTableType
impl RefUnwindSafe for AlterTableType
impl Send for AlterTableType
impl Sync for AlterTableType
impl Unpin for AlterTableType
impl UnwindSafe for AlterTableType
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