Skip to main content

AlterTableType

Enum AlterTableType 

Source
pub enum AlterTableType {
Show 66 variants AT_AddColumn = 0, AT_AddColumnToView = 1, AT_ColumnDefault = 2, AT_CookedColumnDefault = 3, AT_DropNotNull = 4, AT_SetNotNull = 5, AT_SetExpression = 6, AT_DropExpression = 7, AT_SetStatistics = 8, AT_SetOptions = 9, AT_ResetOptions = 10, AT_SetStorage = 11, AT_SetCompression = 12, AT_DropColumn = 13, AT_AddIndex = 14, AT_ReAddIndex = 15, AT_AddConstraint = 16, AT_ReAddConstraint = 17, AT_ReAddDomainConstraint = 18, AT_AlterConstraint = 19, AT_ValidateConstraint = 20, AT_AddIndexConstraint = 21, AT_DropConstraint = 22, AT_ReAddComment = 23, AT_AlterColumnType = 24, AT_AlterColumnGenericOptions = 25, AT_ChangeOwner = 26, AT_ClusterOn = 27, AT_DropCluster = 28, AT_SetLogged = 29, AT_SetUnLogged = 30, AT_DropOids = 31, AT_SetAccessMethod = 32, AT_SetTableSpace = 33, AT_SetRelOptions = 34, AT_ResetRelOptions = 35, AT_ReplaceRelOptions = 36, AT_EnableTrig = 37, AT_EnableAlwaysTrig = 38, AT_EnableReplicaTrig = 39, AT_DisableTrig = 40, AT_EnableTrigAll = 41, AT_DisableTrigAll = 42, AT_EnableTrigUser = 43, AT_DisableTrigUser = 44, AT_EnableRule = 45, AT_EnableAlwaysRule = 46, AT_EnableReplicaRule = 47, AT_DisableRule = 48, AT_AddInherit = 49, AT_DropInherit = 50, AT_AddOf = 51, AT_DropOf = 52, AT_ReplicaIdentity = 53, AT_EnableRowSecurity = 54, AT_DisableRowSecurity = 55, AT_ForceRowSecurity = 56, AT_NoForceRowSecurity = 57, AT_GenericOptions = 58, AT_AttachPartition = 59, AT_DetachPartition = 60, AT_DetachPartitionFinalize = 61, AT_AddIdentity = 62, AT_SetIdentity = 63, AT_DropIdentity = 64, AT_ReAddStatistics = 65,
}

Variants§

§

AT_AddColumn = 0

§

AT_AddColumnToView = 1

§

AT_ColumnDefault = 2

§

AT_CookedColumnDefault = 3

§

AT_DropNotNull = 4

§

AT_SetNotNull = 5

§

AT_SetExpression = 6

§

AT_DropExpression = 7

§

AT_SetStatistics = 8

§

AT_SetOptions = 9

§

AT_ResetOptions = 10

§

AT_SetStorage = 11

§

AT_SetCompression = 12

§

AT_DropColumn = 13

§

AT_AddIndex = 14

§

AT_ReAddIndex = 15

§

AT_AddConstraint = 16

§

AT_ReAddConstraint = 17

§

AT_ReAddDomainConstraint = 18

§

AT_AlterConstraint = 19

§

AT_ValidateConstraint = 20

§

AT_AddIndexConstraint = 21

§

AT_DropConstraint = 22

§

AT_ReAddComment = 23

§

AT_AlterColumnType = 24

§

AT_AlterColumnGenericOptions = 25

§

AT_ChangeOwner = 26

§

AT_ClusterOn = 27

§

AT_DropCluster = 28

§

AT_SetLogged = 29

§

AT_SetUnLogged = 30

§

AT_DropOids = 31

§

AT_SetAccessMethod = 32

§

AT_SetTableSpace = 33

§

AT_SetRelOptions = 34

§

AT_ResetRelOptions = 35

§

AT_ReplaceRelOptions = 36

§

AT_EnableTrig = 37

§

AT_EnableAlwaysTrig = 38

§

AT_EnableReplicaTrig = 39

§

AT_DisableTrig = 40

§

AT_EnableTrigAll = 41

§

AT_DisableTrigAll = 42

§

AT_EnableTrigUser = 43

§

AT_DisableTrigUser = 44

§

AT_EnableRule = 45

§

AT_EnableAlwaysRule = 46

§

AT_EnableReplicaRule = 47

§

AT_DisableRule = 48

§

AT_AddInherit = 49

§

AT_DropInherit = 50

§

AT_AddOf = 51

§

AT_DropOf = 52

§

AT_ReplicaIdentity = 53

§

AT_EnableRowSecurity = 54

§

AT_DisableRowSecurity = 55

§

AT_ForceRowSecurity = 56

§

AT_NoForceRowSecurity = 57

§

AT_GenericOptions = 58

§

AT_AttachPartition = 59

§

AT_DetachPartition = 60

§

AT_DetachPartitionFinalize = 61

§

AT_AddIdentity = 62

§

AT_SetIdentity = 63

§

AT_DropIdentity = 64

§

AT_ReAddStatistics = 65

Trait Implementations§

Source§

impl Clone for AlterTableType

Source§

fn clone(&self) -> AlterTableType

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for AlterTableType

Source§

impl Debug for AlterTableType

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for AlterTableType

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Eq for AlterTableType

Source§

impl PartialEq for AlterTableType

Source§

fn eq(&self, other: &AlterTableType) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl StructuralPartialEq for AlterTableType

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.