pub enum AlterColumnStorage {
Plain,
External,
Extended,
Main,
Default,
}Expand description
PostgreSQL column storage strategy used by ALTER COLUMN ... SET STORAGE.
Variants§
Plain
No compression or out-of-line storage.
External
Out-of-line storage without compression.
Extended
Compression and out-of-line storage.
Main
Compression with a preference for in-line storage.
Default
Reset to the data type’s default storage strategy.
Trait Implementations§
Source§impl Clone for AlterColumnStorage
impl Clone for AlterColumnStorage
Source§fn clone(&self) -> AlterColumnStorage
fn clone(&self) -> AlterColumnStorage
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 moreimpl Copy for AlterColumnStorage
Source§impl Debug for AlterColumnStorage
impl Debug for AlterColumnStorage
Source§impl<'de> Deserialize<'de> for AlterColumnStorage
impl<'de> Deserialize<'de> for AlterColumnStorage
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
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 Display for AlterColumnStorage
impl Display for AlterColumnStorage
impl Eq for AlterColumnStorage
Source§impl Hash for AlterColumnStorage
impl Hash for AlterColumnStorage
Source§impl Ord for AlterColumnStorage
impl Ord for AlterColumnStorage
Source§fn cmp(&self, other: &AlterColumnStorage) -> Ordering
fn cmp(&self, other: &AlterColumnStorage) -> Ordering
1.21.0 (const: unstable) · 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 AlterColumnStorage
impl PartialEq for AlterColumnStorage
Source§impl PartialOrd for AlterColumnStorage
impl PartialOrd for AlterColumnStorage
Source§impl Serialize for AlterColumnStorage
impl Serialize for AlterColumnStorage
impl StructuralPartialEq for AlterColumnStorage
Source§impl Visit for AlterColumnStorage
impl Visit for AlterColumnStorage
Source§impl VisitMut for AlterColumnStorage
impl VisitMut for AlterColumnStorage
Source§fn visit<V: VisitorMut>(&mut self, visitor: &mut V) -> ControlFlow<V::Break>
fn visit<V: VisitorMut>(&mut self, visitor: &mut V) -> ControlFlow<V::Break>
Mutably visit this node with the provided
VisitorMut. Read moreAuto Trait Implementations§
impl Freeze for AlterColumnStorage
impl RefUnwindSafe for AlterColumnStorage
impl Send for AlterColumnStorage
impl Sync for AlterColumnStorage
impl Unpin for AlterColumnStorage
impl UnsafeUnpin for AlterColumnStorage
impl UnwindSafe for AlterColumnStorage
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